1
1
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:
Théo LUDWIG 2024-02-08 22:56:43 +01:00
parent 3d2e708e96
commit 256a5024d6
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -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",