mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
ESLint: enforce no-case-declarations
https://eslint.org/docs/latest/rules/no-case-declarations
This commit is contained in:
@@ -105,13 +105,13 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"prefer-const": "error",
|
"prefer-const": "error",
|
||||||
|
"no-case-declarations": "error",
|
||||||
"prefer-spread": "off",
|
"prefer-spread": "off",
|
||||||
"no-underscore-dangle": "off",
|
"no-underscore-dangle": "off",
|
||||||
|
|
||||||
// todo: disabled rules from eslint:recommended, consider re-enabling & fixing
|
// todo: disabled rules from eslint:recommended, consider re-enabling & fixing
|
||||||
"no-prototype-builtins": "off",
|
"no-prototype-builtins": "off",
|
||||||
"no-useless-escape": "off",
|
"no-useless-escape": "off",
|
||||||
"no-case-declarations": "off",
|
|
||||||
"no-extra-boolean-cast": "off",
|
"no-extra-boolean-cast": "off",
|
||||||
|
|
||||||
"@angular-eslint/directive-selector": [
|
"@angular-eslint/directive-selector": [
|
||||||
|
Reference in New Issue
Block a user