File tree Expand file tree Collapse file tree 3 files changed +163
-159
lines changed Expand file tree Collapse file tree 3 files changed +163
-159
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ module.exports = {
2
2
parser : '@typescript-eslint/parser' ,
3
3
plugins : [
4
4
'@typescript-eslint' ,
5
+ 'deprecation' ,
5
6
] ,
6
7
settings : {
7
8
'import/parsers' : {
@@ -18,6 +19,7 @@ module.exports = {
18
19
] ,
19
20
rules : {
20
21
'brace-style' : 'off' ,
22
+ 'deprecation/deprecation' : 'warn' ,
21
23
'func-call-spacing' : 'off' ,
22
24
'no-shadow' : 'off' ,
23
25
'no-use-before-define' : 'off' ,
Original file line number Diff line number Diff line change 25
25
"eslint-config-airbnb" : " ^18.2.1" ,
26
26
"eslint-config-airbnb-base" : " ^14.2.1" ,
27
27
"eslint-plugin-babel" : " ^5.3.1" ,
28
+ "eslint-plugin-deprecation" : " ^1.2.1" ,
28
29
"eslint-plugin-eslint-comments" : " ^3.2.0" ,
29
30
"eslint-plugin-import" : " ^2.22.1" ,
30
31
"eslint-plugin-jest" : " ^24.3.6" ,
40
41
},
41
42
"peerDependencies" : {
42
43
"@typescript-eslint/eslint-plugin" : " >=4.5.0" ,
43
- "@typescript-eslint/parser" : " >=4.5.0"
44
+ "@typescript-eslint/parser" : " >=4.5.0" ,
45
+ "eslint-plugin-deprecation" : " >=1.2.1"
44
46
},
45
47
"private" : false
46
48
}
You can’t perform that action at this time.
0 commit comments