UNPKG

vijay06

Version:
83 lines (82 loc) 2.21 kB
{ "root": true, "ignorePatterns": ["projects/**/*"], "overrides": [ { "files": ["*.ts"], "parserOptions": { "project": ["tsconfig.json"], "createDefaultProgram": true }, "extends": [ "plugin:@angular-eslint/recommended", "airbnb-typescript/base", "plugin:prettier/recommended" ], "rules": { "@angular-eslint/component-selector": [ "error", { "prefix": "mask", "style": "kebab-case", "type": "element" } ], "@angular-eslint/directive-selector": [ "error", { "prefix": "mask", "style": "camelCase", "type": "attribute" } ], "@typescript-eslint/array-type": ["error"], "@typescript-eslint/consistent-type-assertions": [ "error", { "assertionStyle": "as" } ], "@typescript-eslint/naming-convention": [ "error", { "selector": "interface", "format": ["PascalCase"], "custom": { "regex": "^I[A-Z]", "match": true } } ], "@typescript-eslint/explicit-member-accessibility": ["error"], "import/no-unresolved": "off", "import/no-extraneous-dependencies": "off", "import/prefer-default-export": "off", "no-underscore-dangle": "off", "class-methods-use-this": "off", "lines-between-class-members": "off", "no-return-assign": "off", "no-param-reassign": ["error", { "props": false }], "no-plusplus": ["off"], "@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }], "@typescript-eslint/unbound-method": "off", "import/no-cycle": "off", "import/extensions": "off" } }, { "files": ["*.html"], "extends": ["plugin:@angular-eslint/template/recommended"], "rules": {} }, { "files": ["*.js"], "parserOptions": { "ecmaVersion": 2020 }, "env": { "es6": true } } ] }