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/no-deprecated

BREAKING CHANGE: New rule introduced

Fixes #5
This commit is contained in:
Théo LUDWIG 2024-09-25 17:52:28 +02:00
parent b4f1c0b8dd
commit 6af4b4f6ac
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
2 changed files with 3 additions and 2 deletions

View File

@ -263,6 +263,7 @@
} }
], ],
"@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-base-to-string": "error",
"@typescript-eslint/no-deprecated": "error",
"@typescript-eslint/no-dynamic-delete": "error", "@typescript-eslint/no-dynamic-delete": "error",
"@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extra-non-null-assertion": "error",
"@typescript-eslint/no-redundant-type-constituents": "error", "@typescript-eslint/no-redundant-type-constituents": "error",

View File

@ -56,8 +56,8 @@ If you want to use **TypeScript**, you also need to install:
```sh ```sh
npm install --save-dev \ npm install --save-dev \
"typescript@^5.6.2" \ "typescript@^5.6.2" \
"@typescript-eslint/eslint-plugin@^8.0.0" \ "@typescript-eslint/eslint-plugin@^8.3.0" \
"@typescript-eslint/parser@^8.0.0" "@typescript-eslint/parser@^8.3.0"
``` ```
Dependencies are: Dependencies are: