{ "root": true, "parser": "@typescript-eslint/parser", "plugins": ["@typescript-eslint", "unused-imports"], "extends": ["eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", "prettier"], "rules": { "array-bracket-spacing": "off", "array-element-newline": "off", "arrow-spacing": "off", "block-scoped-var": ["warn"], "block-spacing": "off", "brace-style": "off", "camelcase": ["warn"], "comma-dangle": "off", "comma-spacing": "off", "comma-style": "off", "computed-property-spacing": "off", "consistent-return": ["warn"], "consistent-this": ["error"], "curly": "off", "default-case": ["off"], "default-case-last": ["warn"], "default-param-last": ["error"], "dot-location": "off", "eol-last": "off", "func-call-spacing": "off", "func-name-matching": ["warn"], "func-names": ["warn", "never"], "function-call-argument-newline": "off", "function-paren-newline": "off", "grouped-accessor-pairs": ["warn", "getBeforeSet"], "guard-for-in": ["error"], "implicit-arrow-linebreak": "off", "indent": "off", "jsx-quotes": "off", "key-spacing": "off", "keyword-spacing": "off", "lines-between-class-members": [ "warn", "always", { "exceptAfterSingleLine": true } ], "multiline-comment-style": ["warn", "starred-block"], "multiline-ternary": "off", "new-cap": [ "warn", { "capIsNewExceptions": [ "Component", "ContentChild", "ContentChildren", "Directive", "HostBinding", "HostListener", "Inject", "Injectable", "Input", "NgModule", "Optional", "Output", "Pipe", "Self", "ViewChild", "ViewChildren" ] } ], "new-parens": "off", "newline-per-chained-call": "off", "no-alert": ["error"], "no-array-constructor": ["error"], "no-constructor-return": ["error"], "no-duplicate-imports": ["error"], // "no-empty-function": ["warn", { // "allow": ["constructors"] // }], "no-eq-null": ["warn"], "no-eval": ["error"], "no-extend-native": ["error"], "no-extra-bind": ["warn"], "no-extra-parens": "off", "no-fallthrough": "off", "no-labels": ["error"], "no-lone-blocks": ["warn"], "no-lonely-if": ["warn"], "no-loop-func": ["warn"], "no-multi-assign": ["error"], "no-multi-spaces": "off", "no-multiple-empty-lines": "off", "no-nested-ternary": "off", "no-new-wrappers": ["warn"], "no-promise-executor-return": ["error"], "no-self-compare": ["error"], "no-template-curly-in-string": "off", "no-throw-literal": ["error"], "no-trailing-spaces": "off", "no-underscore-dangle": "off", "no-unmodified-loop-condition": ["warn"], "no-unneeded-ternary": ["warn"], "no-unreachable-loop": ["warn"], "no-unused-expressions": ["warn"], "no-unused-private-class-members": ["warn"], "no-useless-call": ["error"], "no-useless-catch": ["error"], "no-useless-computed-key": ["error"], "no-useless-concat": ["warn"], // "no-useless-constructor": ["warn"], "no-useless-escape": ["warn"], "no-useless-rename": ["warn"], "no-useless-return": ["warn"], "no-var": ["warn"], "no-whitespace-before-property": "off", "nonblock-statement-body-position": "off", "object-curly-newline": "off", "object-curly-spacing": "off", "operator-linebreak": "off", "one-var": ["warn", "never"], "padded-blocks": "off", "padding-line-between-statements": ["warn"], "quote-props": "off", "quotes": "off", "rest-spread-spacing": "off", "require-await": ["warn"], "semi": "off", "semi-spacing": "off", "semi-style": "off", "space-before-blocks": "off", "space-before-function-paren": "error", "space-in-parens": "off", "space-infix-ops": "off", "sort-imports": [ "warn", { "ignoreCase": false, "ignoreDeclarationSort": true } ], "spaced-comment": ["warn", "always"], "switch-colon-spacing": "off", "template-curly-spacing": "off", "template-tag-spacing": "off", "@typescript-eslint/ban-ts-comment": "off", "@typescript-eslint/no-empty-function": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-non-null-assertion": "off", "@typescript-eslint/no-unused-vars": "off", "unicode-bom": "off", "unused-imports/no-unused-imports": "error", "vars-on-top": ["warn"], "wrap-iife": "off" } }