@@ -9,6 +9,9 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
9
9
- Added an ` optionalDependencies ` option to [ ` no-extraneous-dependencies ` ] to allow/forbid optional dependencies ([ #266 ] , thanks [ @jfmengels ] ).
10
10
- Added ` newlines-between ` option to [ ` order ` ] rule ([ #298 ] , thanks [ @singles ] )
11
11
- add [ ` no-mutable-exports ` ] rule ([ #290 ] , thanks [ @josh ] )
12
+ - [ ` import/extensions ` setting] : a whitelist of file extensions to parse as modules
13
+ and search for ` export ` s. If unspecified, all extensions are considered valid (for now).
14
+ In v2, this will likely default to ` ['.js', MODULE_EXT] ` ,. ([ #297 ] , to fix [ #267 ] )
12
15
13
16
### Fixed
14
17
- [ ` extensions ` ] : fallback to source path for extension enforcement if imported
@@ -180,6 +183,7 @@ for info on changes for earlier releases.
180
183
181
184
[ `import/cache` setting ] : ./README.md#importcache
182
185
[ `import/ignore` setting ] : ./README.md#importignore
186
+ [ `import/extensions` setting ] : ./README.md#importextensions
183
187
184
188
[ `no-unresolved` ] : ./docs/rules/no-unresolved.md
185
189
[ `no-deprecated` ] : ./docs/rules/no-deprecated.md
@@ -198,6 +202,10 @@ for info on changes for earlier releases.
198
202
[ `no-mutable-exports` ] : ./docs/rules/no-mutable-exports.md
199
203
200
204
[ #298 ] : https://github.com/benmosher/eslint-plugin-import/pull/298
205
+ <<<<<<< 7775f344b90aa44c446d596e4e137d6a725bf5e8
206
+ =======
207
+ [ #297 ] : https://github.com/benmosher/eslint-plugin-import/pull/297
208
+ >>>>>>> default to all extensions valid to avoid breaking change until semver-next
201
209
[ #296 ] : https://github.com/benmosher/eslint-plugin-import/pull/296
202
210
[ #290 ] : https://github.com/benmosher/eslint-plugin-import/pull/290
203
211
[ #289 ] : https://github.com/benmosher/eslint-plugin-import/pull/289
@@ -221,6 +229,7 @@ for info on changes for earlier releases.
221
229
[ #286 ] : https://github.com/benmosher/eslint-plugin-import/issues/286
222
230
[ #281 ] : https://github.com/benmosher/eslint-plugin-import/issues/281
223
231
[ #272 ] : https://github.com/benmosher/eslint-plugin-import/issues/272
232
+ [ #267 ] : https://github.com/benmosher/eslint-plugin-import/issues/267
224
233
[ #266 ] : https://github.com/benmosher/eslint-plugin-import/issues/266
225
234
[ #216 ] : https://github.com/benmosher/eslint-plugin-import/issues/216
226
235
[ #214 ] : https://github.com/benmosher/eslint-plugin-import/issues/214
0 commit comments