mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2024-12-18 21:45:04 +01:00
feat: add @typescript-eslint/prefer-as-const
BREAKING CHANGE: New rule introduced
This commit is contained in:
parent
3d2e708e96
commit
256a5024d6
@ -323,6 +323,7 @@
|
|||||||
"@typescript-eslint/no-var-requires": "error",
|
"@typescript-eslint/no-var-requires": "error",
|
||||||
"@typescript-eslint/no-unsafe-unary-minus": "error",
|
"@typescript-eslint/no-unsafe-unary-minus": "error",
|
||||||
"@typescript-eslint/no-array-delete": "error",
|
"@typescript-eslint/no-array-delete": "error",
|
||||||
|
"@typescript-eslint/prefer-as-const": "error",
|
||||||
"@typescript-eslint/prefer-function-type": "error",
|
"@typescript-eslint/prefer-function-type": "error",
|
||||||
"@typescript-eslint/prefer-find": "error",
|
"@typescript-eslint/prefer-find": "error",
|
||||||
"@typescript-eslint/prefer-includes": "error",
|
"@typescript-eslint/prefer-includes": "error",
|
||||||
|
Loading…
Reference in New Issue
Block a user