Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-import

Package Overview
Dependencies
Maintainers
3
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-import - npm Package Versions

1
14

1.6.0

Diff

Changelog

Source

[1.6.0] - 2016-04-25

Added

  • add [no-named-as-default-member] to warnings canned config
  • add [no-extraneous-dependencies] rule ([#241], thanks [@jfmengels])
  • add [extensions] rule ([#250], thanks [@lo1tuma])
  • add [no-nodejs-modules] rule ([#261], thanks [@jfmengels])
  • add [order] rule ([#247], thanks [@jfmengels])
  • consider resolve.fallback config option in the webpack resolver ([#254])

Changed

  • [imports-first] now allows directives (i.e. 'use strict') strictly before any imports ([#256], thanks [@lemonmade])

Fixed

  • [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])
benmosher
published 1.5.0 •

Changelog

Source

[1.5.0] - 2016-04-18

Added

  • report resolver errors at the top of the linted file
  • add [no-namespace] rule ([#239], thanks [@singles])
  • add [no-named-as-default-member] rule ([#243], thanks [@dmnd])

Changed

  • Rearranged rule groups in README in preparation for more style guide rules

Removed

  • support for Node 0.10, via es6-* ponyfills. Using native Map/Set/Symbol.
benmosher
published 1.4.0 •

Changelog

Source

[1.4.0] - 2016-03-25

Added

  • Resolver plugin interface v2: more explicit response format that more clearly covers the found-but-core-module case, where there is no path. Still backwards-compatible with the original version of the resolver spec.
  • Resolver documentation

Changed

  • using package.json/files instead of .npmignore for package file inclusion ([#228], thanks [@mathieudutour])
  • using es6-* ponyfills instead of babel-runtime
benmosher
published 1.3.0 •

Changelog

Source

[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).

Added

  • This change log ([#216])
  • Experimental memoizing parser

Fixed

  • Huge reduction in execution time by only ignoring [import/ignore setting] if something that looks like an export is detected in the module content.
benmosher
published 1.2.0 •

Changelog

Source

[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.

Changed

  • added caching to core/resolve via [#214], configured via [import/cache setting]
benmosher
published 1.1.0 •

Changelog

Source

[1.1.0] - 2016-03-15

Added

  • Added an ignore option to [no-unresolved] for those pesky files that no resolver can find. (still prefer enhancing the Webpack and Node resolvers to using it, though). See [#89] for details.
benmosher
published 1.0.4 •

Changelog

Source

[1.0.4] - 2016-03-11

Changed

  • respect hoisting for deep namespaces ([namespace]/[no-deprecated]) ([#211])

Fixed

  • don't crash on self references ([#210])
  • correct cache behavior in eslint_d for deep namespaces ([#200])
benmosher
published 1.0.3 •

Changelog

Source

[1.0.3] - 2016-02-26

Changed

  • no-deprecated follows deep namespaces ([#191])

Fixed

  • [namespace] no longer flags modules with only a default export as having no names. (ns.default is valid ES6)
benmosher
published 1.0.2 •

Changelog

Source

[1.0.2] - 2016-02-26

Fixed

  • don't parse imports with no specifiers ([#192])
benmosher
published 1.0.1 •

Changelog

Source

[1.0.1] - 2016-02-25

Fixed

  • export stage-0 shared config
  • documented [no-deprecated]
  • deep namespaces are traversed regardless of how they get imported ([#189])
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc