eslint-plugin-import
Advanced tools
Changelog
[1.6.0] - 2016-04-25
no-named-as-default-member
] to warnings
canned configno-extraneous-dependencies
] rule ([#241], thanks [@jfmengels])extensions
] rule ([#250], thanks [@lo1tuma])no-nodejs-modules
] rule ([#261], thanks [@jfmengels])order
] rule ([#247], thanks [@jfmengels])resolve.fallback
config option in the webpack resolver ([#254])imports-first
] now allows directives (i.e. 'use strict'
) strictly before
any imports ([#256], thanks [@lemonmade])named
] now properly ignores the source module if a name is re-exported from
an ignored file (i.e. node_modules
). Also improved the reported error. (thanks to [@jimbolla] for reporting)no-named-as-default-member
] had a crash on destructuring in loops (thanks for heads up from [@lemonmade])Changelog
[1.5.0] - 2016-04-18
no-namespace
] rule ([#239], thanks [@singles])no-named-as-default-member
] rule ([#243], thanks [@dmnd])es6-*
ponyfills. Using native Map/Set/Symbol.Changelog
[1.4.0] - 2016-03-25
package.json/files
instead of .npmignore
for package file inclusion ([#228], thanks [@mathieudutour])es6-*
ponyfills instead of babel-runtime
Changelog
[1.3.0] - 2016-03-20
Major perf improvements. Between parsing only once and ignoring gigantic, non-module node_modules
,
there is very little added time.
My test project takes 17s to lint completely, down from 55s, when using the
memoizing parser, and takes only 27s with naked babel-eslint
(thus, reparsing local modules).
import/ignore
setting] if
something that looks like an export
is detected in the module content.Changelog
[1.2.0] - 2016-03-19
Thanks [@lencioni] for identifying a huge amount of rework in resolve and kicking off a bunch of memoization.
I'm seeing 62% improvement over my normal test codebase when executing only
[no-unresolved
] in isolation, and ~35% total reduction in lint time.
import/cache
setting]Changelog
[1.0.4] - 2016-03-11
namespace
]/[no-deprecated
]) ([#211])eslint_d
for deep namespaces ([#200])Changelog
[1.0.3] - 2016-02-26
namespace
] no longer flags modules with only a default export as having no names. (ns.default is valid ES6)