Skip to content

Releases: import-js/eslint-plugin-import

v2.23.3

24 Aug 16:53
v2.23.3
20c373c
Compare
Choose a tag to compare

v2.23.2

24 Aug 16:52
v2.23.2
a332f20
Compare
Choose a tag to compare

v2.23.1

24 Aug 16:52
v2.23.1
8431b46
Compare
Choose a tag to compare

v2.23.0

14 May 06:50
v2.23.0
e9e755d
Compare
Choose a tag to compare

v2.22.1

10 Feb 00:27
v2.22.1
bdda069
Compare
Choose a tag to compare

import/cache

19 Mar 11:48
Compare
Choose a tag to compare

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

15 Mar 11:27
Compare
Choose a tag to compare
  • added an ignore option to no-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

11 Mar 12:07
Compare
Choose a tag to compare

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

25 Feb 12:34
Compare
Choose a tag to compare

bugfixes:

  • export stage-0 shared config (#188)
  • documented no-deprecated
  • deep namespaces are traversed regardless of how they get imported (#189)

one-oh, f'real

25 Feb 12:35
Compare
Choose a tag to compare
  • import/namespace: support deep namespaces #119 via #157
  • import/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. 😅