File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ module.exports = {
15
15
'import/external-module-folders' : [ 'node_modules' , 'node_modules/@types' ] ,
16
16
} ,
17
17
rules : {
18
- // https://github.com/typescript-eslint/typescript-eslint/blob/v4.0.1 /packages/eslint-plugin/docs/rules/array-type.md
18
+ // https://github.com/typescript-eslint/typescript-eslint/blob/master /packages/eslint-plugin/docs/rules/array-type.md
19
19
'@typescript-eslint/array-type' : [ 'error' , {
20
20
default : 'array'
21
21
} ] ,
22
22
23
- // https://github.com/typescript-eslint/typescript-eslint/blob/v4.0.1 /packages/eslint-plugin/docs/rules/consistent-type-definitions.md
23
+ // https://github.com/typescript-eslint/typescript-eslint/blob/master /packages/eslint-plugin/docs/rules/consistent-type-definitions.md
24
24
'@typescript-eslint/consistent-type-definitions' : [ 'error' , 'interface' ] ,
25
25
26
26
// https://github.com/typescript-eslint/typescript-eslint/blob/v4.0.1/packages/eslint-plugin/docs/rules/explicit-function-return-type.md
@@ -36,6 +36,10 @@ module.exports = {
36
36
// https://github.com/typescript-eslint/typescript-eslint/blob/v4.0.1/packages/eslint-plugin/docs/rules/prefer-enum-initializers.md
37
37
'@typescript-eslint/prefer-enum-initializers' : 'error' ,
38
38
39
+
40
+ // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/prefer-optional-chain.md
41
+ "prefer-optional-chain" : "error" ,
42
+
39
43
} ,
40
44
overrides : [
41
45
{
You can’t perform that action at this time.
0 commit comments