File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 55
55
" TypeScript"
56
56
],
57
57
"dependencies" : {
58
- "@typescript-eslint/parser" : " ^2.16 .0" ,
58
+ "@typescript-eslint/parser" : " ^2.17 .0" ,
59
59
"eslint-config-standard" : " ^14.1.0"
60
60
},
61
61
"peerDependencies" : {
64
64
"eslint-plugin-node" : " >=9.1.0" ,
65
65
"eslint-plugin-promise" : " >=4.2.1" ,
66
66
"eslint-plugin-standard" : " >=4.0.0" ,
67
- "@typescript-eslint/eslint-plugin" : " >=2.16 .0"
67
+ "@typescript-eslint/eslint-plugin" : " >=2.17 .0"
68
68
},
69
69
"devDependencies" : {
70
70
"@commitlint/cli" : " ^8.2.0" ,
71
71
"@commitlint/config-conventional" : " ^8.2.0" ,
72
72
"@commitlint/travis-cli" : " ^8.2.0" ,
73
73
"@types/node" : " ^13.1.0" ,
74
- "@typescript-eslint/eslint-plugin" : " ^2.16 .0" ,
74
+ "@typescript-eslint/eslint-plugin" : " ^2.17 .0" ,
75
75
"ava" : " ^3.1.0" ,
76
76
"editorconfig-checker" : " ^3.0.3" ,
77
77
"eslint" : " ^6.7.2" ,
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ test('export', (t): void => {
33
33
rules : {
34
34
'brace-style' : 'off' ,
35
35
camelcase : 'off' ,
36
+ 'default-param-last' : 'off' ,
36
37
indent : 'off' ,
37
38
'no-array-constructor' : 'off' ,
38
39
'no-duplicate-class-members' : 'off' ,
@@ -102,6 +103,7 @@ test('export', (t): void => {
102
103
'@typescript-eslint/no-misused-new' : 'error' ,
103
104
'@typescript-eslint/no-misused-promises' : 'error' ,
104
105
'@typescript-eslint/no-namespace' : 'error' ,
106
+ '@typescript-eslint/no-non-null-asserted-optional-chain' : 'error' ,
105
107
'@typescript-eslint/no-non-null-assertion' : 'error' ,
106
108
'@typescript-eslint/no-this-alias' : [ 'error' , { allowDestructuring : true } ] ,
107
109
'@typescript-eslint/no-throw-literal' : 'error' ,
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ export = {
36
36
// Rules replaced by @typescript -eslint versions:
37
37
...fromEntries ( equivalents . map ( ( name ) => [ name , 'off' ] ) ) ,
38
38
camelcase : 'off' ,
39
+ 'default-param-last' : 'off' ,
39
40
'no-use-before-define' : 'off' ,
40
41
41
42
// @typescript -eslint versions of Standard.js rules:
@@ -90,6 +91,7 @@ export = {
90
91
'@typescript-eslint/no-misused-new' : 'error' ,
91
92
'@typescript-eslint/no-misused-promises' : 'error' ,
92
93
'@typescript-eslint/no-namespace' : 'error' ,
94
+ '@typescript-eslint/no-non-null-asserted-optional-chain' : 'error' ,
93
95
'@typescript-eslint/no-non-null-assertion' : 'error' ,
94
96
'@typescript-eslint/no-this-alias' : [ 'error' , { allowDestructuring : true } ] ,
95
97
'@typescript-eslint/no-unnecessary-type-assertion' : 'error' ,
You can’t perform that action at this time.
0 commit comments