Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "root": true,
- "ignorePatterns": [
- "src/environments/*",
- "src/assets/*",
- "src/polyfills.browser.ts",
- "src/custom-typings.d.ts"
- ],
- "rules": {
- // disable the rule for all files
- "@typescript-eslint/explicit-member-accessibility": "off",
- "linebreak-style": 0,
- "global-require": 0,
- "eslint linebreak-style": 0
- },
- "overrides": [
- {
- "files": ["*.ts"],
- "parserOptions": {
- "project": ["tsconfig.json"],
- "createDefaultProgram": true
- },
- "extends": [
- "eslint:recommended",
- "plugin:@angular-eslint/recommended",
- "plugin:@angular-eslint/template/process-inline-templates",
- "plugin:@typescript-eslint/recommended",
- "plugin:@typescript-eslint/recommended-requiring-type-checking"
- ],
- "rules": {
- "linebreak-style": 0,
- "global-require": 0,
- "eslint linebreak-style": 0,
- "@angular-eslint/component-class-suffix": [
- "error",
- {
- "suffixes": ["Component"]
- }
- ],
- "@typescript-eslint/no-unsafe-member-access": "off"
- }
- },
- {
- "files": ["*.html"],
- "parser": "@angular-eslint/template-parser",
- "extends": [
- "plugin:@angular-eslint/template/recommended"
- ],
- "rules": {
- "linebreak-style": 0,
- "global-require": 0,
- "@angular-eslint/template/banana-in-box": "error",
- "@angular-eslint/template/no-negated-async": "off"
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement