Skip to content

Releases: import-js/eslint-plugin-import

es6-only

01 Apr 10:52
Compare
Choose a tag to compare
  • Removed no-common in favor of enforcing that all imports have ES6 modules behind them. (#20)
  • resolve.root setting allows module resolution to start from some arbitrary path within your package, instead of just relative paths and node_modules. (#18)

destructuring

26 Mar 10:57
Compare
Choose a tag to compare

Added destructuring pattern awareness to no-reassign.
Improved exists report message.

no-reassign

25 Mar 11:49
Compare
Choose a tag to compare

Added rule no-reassign, made some mistakes publishing to npm. 😳

re-exports + messages

20 Mar 11:21
Compare
Choose a tag to compare

Aggregates ExportAllDeclaration names (export * from './third-module';).
Caches export map. (didn't seem to especially help in tests, but the files are tiny.)
named rule has a more informative message.

default + named

19 Mar 11:15
Compare
Choose a tag to compare

Rules check that your imports exist.

Note that if no imports exist in the imported file, no report is generated. Use the "es6-only" option to enforce exports on all files.

valid-relative-path

17 Mar 11:23
Compare
Choose a tag to compare

1st rule: you do not import relative files that don't exist.