84
84
node/prefer-promises/fs : off
85
85
86
86
# #############################################################################
87
- # `eslint-plugin-import` rule list based on `v2.22 .x`
87
+ # `eslint-plugin-import` rule list based on `v2.23 .x`
88
88
# #############################################################################
89
89
90
90
# Static analysis
@@ -106,6 +106,7 @@ rules:
106
106
import/no-cycle : error
107
107
import/no-useless-path-segments : error
108
108
import/no-relative-parent-imports : off
109
+ import/no-relative-packages : off
109
110
110
111
# Helpful warnings
111
112
# https://github.com/benmosher/eslint-plugin-import#helpful-warnings
@@ -123,14 +124,18 @@ rules:
123
124
import/no-commonjs : error
124
125
import/no-amd : error
125
126
import/no-nodejs-modules : error
127
+ import/no-import-module-exports : off
126
128
127
129
# Style guide
128
130
# https://github.com/benmosher/eslint-plugin-import#style-guide
129
131
import/first : error
130
132
import/exports-last : off
131
133
import/no-duplicates : error
132
134
import/no-namespace : error
133
- import/extensions : [error, never] # TODO: switch to ignorePackages
135
+ import/extensions :
136
+ - error
137
+ - ignorePackages
138
+ - ts : never # TODO: remove once TS supports extensions
134
139
import/order : [error, { newlines-between: always-and-inside-groups }]
135
140
import/newline-after-import : error
136
141
import/prefer-default-export : off
@@ -144,7 +149,7 @@ rules:
144
149
import/dynamic-import-chunkname : off
145
150
146
151
# #############################################################################
147
- # ESLint builtin rules list based on `v7.25 .x`
152
+ # ESLint builtin rules list based on `v7.27 .x`
148
153
# #############################################################################
149
154
150
155
# Possible Errors
@@ -447,7 +452,7 @@ overrides:
447
452
- plugin:import/typescript
448
453
rules :
449
454
# #########################################################################
450
- # `@typescript-eslint/eslint-plugin` rule list based on `v4.22 .x`
455
+ # `@typescript-eslint/eslint-plugin` rule list based on `v4.25 .x`
451
456
# #########################################################################
452
457
453
458
# Supported Rules
0 commit comments