Skip to content

Commit 66782d8

Browse files
authored
Merge pull request #955 from Progi1984/eslint-plugin-deprecation
2 parents c37ca0c + c22c737 commit 66782d8

3 files changed

Lines changed: 2 additions & 244 deletions

File tree

.eslintrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = {
6464
{
6565
files: ['*.ts'],
6666
parser: '@typescript-eslint/parser',
67-
plugins: ['@typescript-eslint', 'deprecation'],
67+
plugins: ['@typescript-eslint'],
6868
extends: ['plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended'],
6969
rules: {
7070
'spaced-comment': 0,
@@ -73,14 +73,14 @@ module.exports = {
7373
'class-methods-use-this': 0,
7474
'no-alert': 0,
7575
'@typescript-eslint/ban-ts-comment': 0,
76+
'@typescript-eslint/no-deprecated': 'error',
7677
'@typescript-eslint/no-non-null-assertion': 0,
7778
'@typescript-eslint/no-explicit-any': 0,
7879
'@typescript-eslint/no-this-alias': 0,
7980
'@typescript-eslint/no-inferrable-types': 0,
8081
'@typescript-eslint/explicit-module-boundary-types': ['error', {allowArgumentsExplicitlyTypedAsAny: true}],
8182
'func-names': 0,
8283
'no-new': 0,
83-
'deprecation/deprecation': 'error',
8484
},
8585
},
8686
],

package-lock.json

Lines changed: 0 additions & 241 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
"babel-eslint": "^10.1.0",
5555
"eslint": "^8.56.0",
5656
"eslint-config-airbnb-base": "^15.0.0",
57-
"eslint-plugin-deprecation": "^3.0.0",
5857
"eslint-plugin-html": "^8.1.2",
5958
"eslint-plugin-import": "^2.29.1",
6059
"ts-node": "^10.9.2",

0 commit comments

Comments
 (0)