Skip to content

matthewtquinn1/advent-of-code-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

{ "root": true, "ignorePatterns": [ "projects/**/", "src/app/@core/api-/" ], "overrides": [ { "files": [ "*.ts" ], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:@angular-eslint/recommended", "plugin:@angular-eslint/template/process-inline-templates", "plugin:prettier/recommended" ], "plugins": ["unused-imports"], "rules": { // These rule overrides are required for 'unused-imports' to work; see why in their GitHub README. "@typescript-eslint/no-unused-vars": "off", "unused-imports/no-unused-imports": "error", "unused-imports/no-unused-vars": [ "warn", { "vars": "all", "varsIgnorePattern": "^", "args": "after-used", "argsIgnorePattern": "^" } ],

    // There are some inconsistencies in the prefix so we only warn for now, but we should error on these.
    "@angular-eslint/directive-selector": [
      "warn",
      {
        "type": "attribute",
        "prefix": "arc",
        "style": "camelCase"
      }
    ],
    "@angular-eslint/component-selector": [
      "warn",
      {
        "type": "element",
        "prefix": "arc",
        "style": "kebab-case"
      }
    ],

    // TODO: Remove these and let them return to their default state - error.
    //       We override them as it is too much to fix right now.
    "@typescript-eslint/no-explicit-any": "warn",
    "@angular-eslint/no-outputs-metadata-property": "warn",
    "@angular-eslint/no-inputs-metadata-property": "warn",
    "@typescript-eslint/ban-types": "warn",
    "@angular-eslint/no-empty-lifecycle-method": "warn",
    "@angular-eslint/no-output-on-prefix": "warn",
    "@angular-eslint/no-input-rename": "warn",
    "@angular-eslint/directive-class-suffix": "warn",
    "@angular-eslint/no-host-metadata-property": "warn",
    "@angular-eslint/component-class-suffix": "warn",
    "@typescript-eslint/no-this-alias": "warn",
    "no-prototype-builtins": "warn",
    "prefer-spread": "warn",
    "no-useless-escape": "warn",
    "no-self-assign": "warn",
    "no-case-declarations": "warn",
    "no-control-regex": "warn"
  }
},
{
  "files": [
    "*.html"
  ],
  "extends": [
    "plugin:@angular-eslint/template/recommended",
    "plugin:@angular-eslint/template/accessibility"
  ],
  "rules": {
    // TODO: Remove these and let them return to their default state - error.
    //       We override them as it is too much to fix right now.
    "@angular-eslint/template/alt-text": "warn",
    "@angular-eslint/template/eqeqeq": "warn",
    "@angular-eslint/template/elements-content": "warn",
    "@angular-eslint/template/label-has-associated-control": "warn",
    "@angular-eslint/template/interactive-supports-focus": "warn",
    "@angular-eslint/template/click-events-have-key-events": "warn"
  }
},
{
  "files": [
    "*.component.html"
  ],
  "extends": [
    "plugin:prettier/recommended"
  ]
}

] }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages