Releases: import-js/eslint-plugin-import
v2.23.3
v2.23.2
v2.23.1
v2.23.0
v2.22.1
import/cache
Thanks @lencioni for identifying a huge amount of rework in resolve
and kicking off a bunch of memorization.
I'm seeing 62% improvement over my normal test codebase for just no-unresolved
in isolation, and ~35% total reduction in lint time.
ignore-unresolved
- added an
ignore
option tono-unresolved
for those pesky files for which no resolver can find. (still prefer enhancing the Webpack and Node resolvers to using it, though)
deep namespaces
1.0.2:
fix #192
1.0.3:
no-deprecated
follows deep namespaces (#191)
1.0.4:
don't crash on self references (#210)
correct cache behavior in eslint_d
for deep namespaces (#200)
respect hoisting for deep namespaces (namespace/no-deprecated) (#211)
namespace
no longer flags modules with only a default
export as having no names. (ns.default
is valid ES6)
patch namespaces
one-oh, f'real
import/namespace
: support deep namespaces #119 via #157import/no-deprecated
: WIP rule to let you know at lint time if you're using deprecated functions, constants, classes, or modules.
From the beta 1.0 release notes:
Update, verified to work with ESLint 2.0.
"Breaking" changes from 0.13.0:
no longer needs/refers to import/parser or import/parse-options. instead, ESLint provided the configured parser + options to the rules, and they use that to parse dependencies.
Shouldn't hurt to leave it there, and I suspect 99.999% of installs have import/parser === parser.
This also means the plugin uses espree instead of babylon if no parser is configured. Wouldn't expect this to hurt in general, but it is a potentially breaking difference.
eslint-config-import is no longer supported. Instead, use the shared configs directly exported by the plugin. See the README for details.
Nothing groundbreaking, but import/parser has been a thorny issue for the whole life of the plugin, and I'm glad to finally be rid of it. 😅