Browse Source

Updated the settings of the static analyzer

tags/v5.0.0
Cédric Belin 5 months ago
parent
commit
84ce67cee0
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      etc/eslint.yaml

+ 6
- 1
etc/eslint.yaml View File

@@ -1,7 +1,7 @@
root: true
env:
browser: true
es2020: true
node: true
extends:
- eslint:recommended
- plugin:@typescript-eslint/eslint-recommended
@@ -151,6 +151,7 @@ rules:
"@typescript-eslint/class-literal-property-style": error
"@typescript-eslint/explicit-function-return-type": [error, {allowExpressions: true}]
"@typescript-eslint/explicit-member-accessibility": [error, {accessibility: no-public}]
"@typescript-eslint/explicit-module-boundary-types": "off"
"@typescript-eslint/member-ordering": [error , {default: [public-field, protected-field, private-field, constructor, public-method, protected-method, private-method]}]
"@typescript-eslint/method-signature-style": error
"@typescript-eslint/naming-convention": error
@@ -168,6 +169,10 @@ rules:
"@typescript-eslint/no-unnecessary-condition": error
"@typescript-eslint/no-unnecessary-qualifier": error
"@typescript-eslint/no-unnecessary-type-arguments": error
"@typescript-eslint/no-unsafe-assignment": "off"
"@typescript-eslint/no-unsafe-call": "off"
"@typescript-eslint/no-unsafe-member-access": "off"
"@typescript-eslint/no-unsafe-return": "off"
"@typescript-eslint/no-unused-vars-experimental": error
"@typescript-eslint/prefer-as-const": error
"@typescript-eslint/prefer-for-of": error


Loading…
Cancel
Save