1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- {
- "ignorePatterns": [
- "projects/**/*"
- ],
- "overrides": [
- {
- "files": [
- "*.ts"
- ],
- "parserOptions": {
- "project": [
- "examples/angular-example/tsconfig.json",
- "examples/angular-example/e2e/tsconfig.json"
- ],
- "createDefaultProgram": true
- },
- "extends": [
- "plugin:@angular-eslint/ng-cli-compat",
- "plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
- "plugin:@angular-eslint/template/process-inline-templates"
- ],
- "rules": {
- "@angular-eslint/component-selector": [
- "error",
- {
- "type": "element",
- "prefix": "app",
- "style": "kebab-case"
- }
- ],
- "@angular-eslint/directive-selector": [
- "error",
- {
- "type": "attribute",
- "prefix": "app",
- "style": "camelCase"
- }
- ],
- "@typescript-eslint/semi": ["error", "never"],
- "dot-notation": "error",
- "import/no-unresolved": "off",
- "import/prefer-default-export": "off",
- "indent": "error",
- "no-empty-function": "off",
- "no-shadow": "error",
- "no-unused-expressions": "error",
- "no-use-before-define": "off",
- "quotes": "error",
- "semi": ["error", "never"]
- }
- },
- {
- "files": ["e2e/**/*.ts"],
- "rules": {
- "import/no-extraneous-dependencies": "off"
- }
- },
- {
- "files": [
- "star.html"
- ],
- "extends": [
- "plugin:@angular-eslint/template/recommended"
- ],
- "rules": {}
- }
- ]
- }
|