75
75
node/prefer-promises/fs : off
76
76
77
77
# #############################################################################
78
- # `eslint-plugin-import` rule list based on `v2.22 .x`
78
+ # `eslint-plugin-import` rule list based on `v2.23 .x`
79
79
# #############################################################################
80
80
81
81
# Static analysis
93
93
import/no-cycle : error
94
94
import/no-useless-path-segments : error
95
95
import/no-relative-parent-imports : off
96
+ import/no-relative-packages : off
96
97
97
98
# Helpful warnings
98
99
# https://github.com/benmosher/eslint-plugin-import#helpful-warnings
@@ -110,6 +111,7 @@ rules:
110
111
import/no-commonjs : error
111
112
import/no-amd : error
112
113
import/no-nodejs-modules : error
114
+ import/no-import-module-exports : off
113
115
114
116
# Style guide
115
117
# https://github.com/benmosher/eslint-plugin-import#style-guide
@@ -131,7 +133,7 @@ rules:
131
133
import/dynamic-import-chunkname : off
132
134
133
135
# #############################################################################
134
- # ESLint builtin rules list based on `v7.22 .x`
136
+ # ESLint builtin rules list based on `v7.27 .x`
135
137
# #############################################################################
136
138
137
139
# Possible Errors
@@ -286,7 +288,7 @@ rules:
286
288
capitalized-comments : off # maybe
287
289
consistent-this : off
288
290
func-name-matching : off
289
- func-names : off
291
+ func-names : [error, as-needed] # improve debug experience
290
292
func-style : off
291
293
id-denylist : off
292
294
id-length : off
@@ -489,7 +491,7 @@ overrides:
489
491
- plugin:import/typescript
490
492
rules :
491
493
# #########################################################################
492
- # `@typescript-eslint/eslint-plugin` rule list based on `v4.17 .x`
494
+ # `@typescript-eslint/eslint-plugin` rule list based on `v4.25 .x`
493
495
# #########################################################################
494
496
495
497
# Supported Rules
@@ -535,7 +537,6 @@ overrides:
535
537
' @typescript-eslint/no-invalid-void-type ' : error
536
538
' @typescript-eslint/no-require-imports ' : error
537
539
' @typescript-eslint/no-this-alias ' : error
538
- ' @typescript-eslint/no-throw-literal ' : error
539
540
' @typescript-eslint/no-type-alias ' : off # TODO consider
540
541
' @typescript-eslint/no-unnecessary-boolean-literal-compare ' : error
541
542
' @typescript-eslint/no-unnecessary-condition ' : error
@@ -591,6 +592,7 @@ overrides:
591
592
no-loop-func : off
592
593
no-loss-of-precision : off
593
594
no-redeclare : off
595
+ no-throw-literal : off
594
596
no-shadow : off
595
597
no-unused-expressions : off
596
598
no-unused-vars : off
@@ -608,6 +610,7 @@ overrides:
608
610
' @typescript-eslint/no-loop-func ' : error
609
611
' @typescript-eslint/no-loss-of-precision ' : error
610
612
' @typescript-eslint/no-redeclare ' : error
613
+ ' @typescript-eslint/no-throw-literal ' : error
611
614
' @typescript-eslint/no-shadow ' : error
612
615
' @typescript-eslint/no-unused-expressions ' : error
613
616
' @typescript-eslint/no-unused-vars ' :
0 commit comments