Skip to content

Commit

Permalink
chore(eslint): back-merge breaking upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fh1ch committed Dec 13, 2023
1 parent d5c13a4 commit e2171c1
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions eslint-config-angular-typescript-base.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": [
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
"plugin:@angular-eslint/template/process-inline-templates",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"allowAutomaticSingleRunInference": true
Expand All @@ -23,7 +24,7 @@
"indent": "off",
"keyword-spacing": "off",
"no-shadow": "off",
"no-duplicate-imports": "off",
"no-duplicate-imports": "error",
"no-redeclare": "off",
"no-underscore-dangle": "off",
"@angular-eslint/no-input-rename": "off",
Expand All @@ -38,14 +39,17 @@
"@typescript-eslint/keyword-spacing": "error",
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-duplicate-imports": "error",
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-redeclare": "error",
"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/no-shadow": ["error", { "ignoreTypeValueShadow": true }],
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/triple-slash-reference": "off",
"@typescript-eslint/no-this-alias": "off",

"array-bracket-spacing": "error",
"arrow-parens": [
Expand All @@ -69,6 +73,8 @@
"semi-spacing": "error",
"space-in-parens": "error",
"space-infix-ops": "error",
"sort-imports": ["error", { "ignoreCase": true, "ignoreDeclarationSort": true }]
"sort-imports": ["error", { "ignoreCase": true, "ignoreDeclarationSort": true }],
"prefer-spread": "off",
"prefer-rest-params": "off"
}
}

0 comments on commit e2171c1

Please sign in to comment.