diff --git a/.eslintrc b/.eslintrc index 5fa69fa..7d20576 100644 --- a/.eslintrc +++ b/.eslintrc @@ -8,14 +8,14 @@ "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:sonarjs/recommended"], "ignorePatterns": ["**/*.js"], "rules": { - "filename-rules/match": [2, "/^(e2e\\.ts$|.*\/e2e\\.ts$|[a-z0-9]+(?:[-._a-z0-9]+)*\\.ts|\\.[a-z0-9]+)$/"], + "filename-rules/match": [2, "/^(e2e\\.ts$|.*\\/e2e\\.ts$|[a-z0-9]+(?:[-._a-z0-9]+)*\\.ts|\\.[a-z0-9]+)$/"], "prefer-arrow-callback": ["warn", { "allowNamedFunctions": true }], "func-style": ["warn", "declaration", { "allowArrowFunctions": false }], "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-non-null-assertion": "error", "constructor-super": "error", "no-invalid-this": "off", - "@typescript-eslint/no-invalid-this": ["error"], + "@typescript-eslint/no-invalid-this": "error", "no-restricted-syntax": ["error", "ForInStatement"], "use-isnan": "error", "no-unneeded-ternary": "error", @@ -46,7 +46,6 @@ { "selector": "typeLike", "format": ["StrictPascalCase"] }, { "selector": "typeParameter", "format": ["StrictPascalCase"], "prefix": ["T"] }, { "selector": "variable", "format": ["strictCamelCase", "UPPER_CASE"], "leadingUnderscore": "allow", "trailingUnderscore": "allow" }, - { "selector": "variable", "format": ["strictCamelCase"], "leadingUnderscore": "allow", "trailingUnderscore": "allow" }, { "selector": "variable", "modifiers": ["destructured"], "format": null }, { "selector": "variable", "types": ["boolean"], "format": ["StrictPascalCase"], "prefix": ["is", "should", "has", "can", "did", "will", "does"] }, { "selector": "variableLike", "format": ["strictCamelCase"] }, diff --git a/package.json b/package.json index 6a69069..d40382f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-template", - "version": "1.0.0", + "version": "0.0.0", "description": "Template repository with TypeScript support.", "main": "build/index.ts", "author": "Ubiquity DAO",