Socket
Socket
Sign inDemoInstall

eslint-plugin-import

Package Overview
Dependencies
Maintainers
1
Versions
130
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
13

2.8.0

Diff

Changelog

Source

[2.8.0] - 2017-10-18

Added

  • [exports-last] rule ([#620] + [#632], thanks [@k15a])

Changed

  • Case-sensitivity checking ignores working directory and ancestors. ([#720] + [#858], thanks [@laysent])

Fixed

  • support scoped modules containing hyphens ([#744], thanks [@rosswarren])
  • core-modules now resolves files inside declared modules ([#886] / [#891], thanks [@mplewis])
  • TypeError for missing AST fields from TypeScript ([#842] / [#944], thanks [@alexgorbatchev])
benmosher
published 2.7.0 •

Changelog

Source

[2.7.0] - 2017-07-06

Changed

  • [no-absolute-path] picks up speed boost, optional AMD support ([#843], thanks [@jseminck])
benmosher
published 2.6.1 •

Changelog

Source

[2.6.1] - 2017-06-29

Fixed

  • update bundled node resolver dependency to latest version
benmosher
published 2.6.0 •

Changelog

Source

[2.6.0] - 2017-06-23

Changed

  • update tests / peerDeps for ESLint 4.0 compatibility ([#871], thanks [@mastilver])
  • [memo-parser] updated to require filePath on parser options as it melts down if it's not there, now that this plugin always provides it. (see [#863])
benmosher
published 2.5.0 •

Changelog

Source

[2.5.0] - 2017-06-22

Re-releasing v[2.4.0] after discovering that the memory leak is isolated to the [memo-parser], which is more or less experimental anyway.

Added

  • Autofixer for newline-after-import. ([#686] + [#696], thanks [@eelyafi])
benmosher
published 2.3.0 •

Changelog

Source

[2.3.0] - 2017-05-18

Added

  • [no-anonymous-default-export] rule: report anonymous default exports ([#712], thanks [@duncanbeevers]).
  • Add new value to [order]'s newlines-between option to allow newlines inside import groups ([#627], [#628], thanks [@giodamelio])
  • Add count option to the [newline-after-import] rule to allow configuration of number of newlines expected ([#742], thanks [@ntdb])

Changed

  • [no-extraneous-dependencies]: use read-pkg-up to simplify finding + loading package.json ([#680], thanks [@wtgtybhertgeghgtwtg])
  • Add support to specify the package.json [no-extraneous-dependencies] ([#685], thanks [@ramasilveyra])

Fixed

  • attempt to fix crash in [no-mutable-exports]. ([#660])
  • "default is a reserved keyword" in no-maned-default tests by locking down babylon to 6.15.0 (#756, thanks @gmathieu)
  • support scoped modules containing non word characters
benmosher
published 2.2.0 •

Changelog

Source

[2.2.0] - 2016-11-07

Fixed

  • Corrected a few gaffs in the auto-ignore logic to fix major performance issues with projects that did not explicitly ignore node_modules. ([#654])
  • [import/ignore setting] was only being respected if the ignored module didn't start with an import or export JS statement
  • [prefer-default-export]: fixed crash on export extensions ([#653])
benmosher
published 2.1.0 •

Changelog

Source

[2.1.0] - 2016-11-02

Added

  • Add [no-named-default] rule: style-guide rule to report use of unnecessarily named default imports ([#596], thanks [@ntdb])
  • [no-extraneous-dependencies]: check globs against CWD + absolute path ([#602] + [#630], thanks [@ljharb])

Fixed

  • [prefer-default-export] handles flow export type ([#484] + [#639], thanks [@jakubsta])
  • [prefer-default-export] handles re-exported default exports ([#609])
  • Fix crash when using [newline-after-import] with decorators ([#592])
  • Properly report [newline-after-import] when next line is a decorator
  • Fixed documentation for the default values for the [order] rule ([#601])
benmosher
published 2.0.1 •

Changelog

Source

[2.0.1] - 2016-10-06

Fixed

  • Fixed code that relied on removed dependencies. ([#604])
benmosher
published 2.0.0 •

Changelog

Source

[2.0.0]! - 2016-09-30

Added

  • [unambiguous] rule: report modules that are not unambiguously ES modules.
  • recommended shared config. Roughly errors and warnings mixed together, with some parserOptions in the mix. ([#402])
  • react shared config: added jsx: true to parserOptions.ecmaFeatures.
  • Added [no-webpack-loader-syntax] rule: forbid custom Webpack loader syntax in imports. ([#586], thanks [@fson]!)
  • Add option newlines-between: "ignore" to [order] ([#519])
  • Added [no-unassigned-import] rule ([#529])

Breaking

  • [import/extensions setting] defaults to ['.js']. ([#306])
  • [import/ignore setting] defaults to nothing, and ambiguous modules are ignored natively. This means importing from CommonJS modules will no longer be reported by [default], [named], or [namespace], regardless of import/ignore. ([#270])
  • [newline-after-import]: Removed need for an empty line after an inline require call ([#570])
  • [order]: Default value for newlines-between option is now ignore ([#519])

Changed

  • imports-first is renamed to [first]. imports-first alias will continue to exist, but may be removed in a future major release.
  • Case-sensitivity: now specifically (and optionally) reported by [no-unresolved]. Other rules will ignore case-mismatches on paths on case-insensitive filesystems. ([#311])

Fixed

  • [no-internal-modules]: support @-scoped packages ([#577]+[#578], thanks [@spalger])
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