diff --git a/overlord/.eslintrc.js b/overlord/.eslintrc.js index bee21e28..0bbf8cb1 100644 --- a/overlord/.eslintrc.js +++ b/overlord/.eslintrc.js @@ -30,7 +30,6 @@ module.exports = { "eslint-plugin-jsdoc", "@angular-eslint/eslint-plugin", "@typescript-eslint", - "@typescript-eslint/tslint" ], "ignorePatterns": ["/src/**/*.spec.ts", "src/test.ts", "src/polyfills.ts"], "rules": { diff --git a/overlord/package.json b/overlord/package.json index 675e6221..eac74cad 100644 --- a/overlord/package.json +++ b/overlord/package.json @@ -3,14 +3,14 @@ "version": "8.0.0", "scripts": { "ng": "ng", - "prettier": "prettier", - "husky": "husky", "eslint": "eslint", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", - "e2e": "ng e2e" + "e2e": "ng e2e", + "prettier": "prettier", + "husky": "husky" }, "private": true, "dependencies": { @@ -35,7 +35,6 @@ "mathjs": "^7.4.0", "moment": "^2.29.1", "rxjs": "^6.6.3", - "rxjs-tslint": "^0.1.5", "tslib": "^2.0.2", "zone.js": "^0.10.3" }, @@ -53,7 +52,6 @@ "@types/jasminewd2": "^2.0.3", "@types/node": "^14.11.5", "@typescript-eslint/eslint-plugin": "^4.4.0", - "@typescript-eslint/eslint-plugin-tslint": "^4.3.0", "@typescript-eslint/parser": "^4.3.0", "codelyzer": "^6.0.1", "eslint": "^7.10.0", @@ -74,7 +72,6 @@ "protractor": "~7.0.0", "standard-version": "^9.0.0", "ts-node": "^9.0.0", - "tslint": "^6.1.3", "typescript": "^4.0.3" }, "husky": { diff --git a/overlord/tslint.json b/overlord/tslint.json deleted file mode 100644 index 25572ec6..00000000 --- a/overlord/tslint.json +++ /dev/null @@ -1,142 +0,0 @@ -{ - "rulesDirectory": [ - "node_modules/codelyzer" - ], - "rules": { - "arrow-return-shorthand": true, - "callable-types": true, - "class-name": true, - "comment-format": [ - true, - "check-space" - ], - "curly": true, - "deprecation": { - "severity": "warn" - }, - "eofline": true, - "forin": true, - "import-blacklist": [ - true, - "rxjs/Rx" - ], - "import-spacing": true, - "indent": [ - true, - "spaces" - ], - "interface-over-type-literal": true, - "label-position": true, - "max-line-length": [ - true, - 140 - ], - "member-access": false, - "member-ordering": [ - true, - { - "order": [ - "static-field", - "instance-field", - "static-method", - "instance-method" - ] - } - ], - "no-arg": true, - "no-bitwise": true, - "no-console": [ - true, - "debug", - "info", - "time", - "timeEnd", - "trace" - ], - "no-construct": true, - "no-debugger": true, - "no-duplicate-super": true, - "no-empty": false, - "no-empty-interface": true, - "no-eval": true, - "no-inferrable-types": [ - true, - "ignore-params" - ], - "no-misused-new": true, - "no-non-null-assertion": true, - "no-redundant-jsdoc": true, - "no-shadowed-variable": true, - "no-string-literal": false, - "no-string-throw": true, - "no-switch-case-fall-through": true, - "no-trailing-whitespace": true, - "no-unnecessary-initializer": true, - "no-unused-expression": true, - "no-var-keyword": true, - "object-literal-sort-keys": false, - "one-line": [ - true, - "check-open-brace", - "check-catch", - "check-else", - "check-whitespace" - ], - "prefer-const": true, - "quotemark": [ - true, - "single" - ], - "radix": true, - "semicolon": [ - true, - "always" - ], - "triple-equals": [ - true, - "allow-null-check" - ], - "typedef-whitespace": [ - true, - { - "call-signature": "nospace", - "index-signature": "nospace", - "parameter": "nospace", - "property-declaration": "nospace", - "variable-declaration": "nospace" - } - ], - "unified-signatures": true, - "variable-name": false, - "whitespace": [ - true, - "check-branch", - "check-decl", - "check-operator", - "check-separator", - "check-type" - ], - "no-output-on-prefix": true, - "no-inputs-metadata-property": true, - "no-outputs-metadata-property": true, - "no-host-metadata-property": true, - "no-input-rename": true, - "no-output-rename": true, - "use-lifecycle-interface": true, - "use-pipe-transform-interface": true, - "component-class-suffix": true, - "directive-class-suffix": true, - "directive-selector": [ - true, - "attribute", - "app", - "camelCase" - ], - "component-selector": [ - true, - "element", - "app", - "kebab-case" - ] - } -}