Update dependency eslint-plugin-import to v2.11.0 #68
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request updates dependency eslint-plugin-import from
v2.8.0
tov2.11.0
Release Notes
v2.9.0
Added
group-exports
rule: style-guide rule to report use of multiple named exports (#721, thanks @robertrossmann)no-self-import
rule: forbids a module from importing itself. (#727, #449, #447, thanks @giodamelio).no-default-export
rule (#889, thanks @isiahmeadows)no-useless-path-segments
rule (#912, thanks @graingert and @danny-andrews)v2.10.0
Added
order
rule (#908, thanks @tihonove)no-cycle
rule: reports import cycles.v2.11.0
Added
first
(#1046, thanks @fengkfengk)allow-require
option forno-commonjs
rule (#880, thanks @futpib)Fixed
2.10.0 - 2018-03-29
Added
order
rule (#908, thanks @tihonove)no-cycle
rule: reports import cycles.2.9.0 - 2018-02-21
Added
group-exports
rule: style-guide rule to report use of multiple named exports (#721, thanks @robertrossmann)no-self-import
rule: forbids a module from importing itself. (#727, #449, #447, thanks @giodamelio).no-default-export
rule (#889, thanks @isiahmeadows)no-useless-path-segments
rule (#912, thanks @graingert and @danny-andrews)2.8.0 - 2017-10-18
Added
exports-last
rule (#620 + #632, thanks @k15a)Changed
Fixed
2.7.0 - 2017-07-06
Changed
no-absolute-path
picks up speed boost, optional AMD support (#843, thanks @jseminck)2.6.1 - 2017-06-29
Fixed
2.6.0 - 2017-06-23
Changed
memo-parser
updated to requirefilePath
on parser options as it meltsdown if it's not there, now that this plugin always provides it. (see #863)
2.5.0 - 2017-06-22
Re-releasing v2.4.0 after discovering that the memory leak is isolated to the
memo-parser
,which is more or less experimental anyway.
Added
2.4.0 - 2017-06-02 [YANKED]
Yanked due to critical issue in eslint-module-utils with cache key resulting from #839.
Added
filePath
intoparserOptions
passed toparser
(#839, thanks @sompylasar)allow
option tono-unassigned-import
to allow for files that match the globs (#671, #737, thanks @kevin940726).2.3.0 - 2017-05-18
Added
no-anonymous-default-export
rule: report anonymous default exports (#712, thanks @duncanbeevers).order
'snewlines-between
option to allow newlines inside import groups (#627, #628, thanks @giodamelio)count
option to thenewline-after-import
rule to allow configuration of number of newlines expected (#742, thanks @ntdb)Changed
no-extraneous-dependencies
: useread-pkg-up
to simplify finding + loadingpackage.json
(#680, thanks @wtgtybhertgeghgtwtg)no-extraneous-dependencies
(#685, thanks @ramasilveyra)Fixed
no-mutable-exports
. (#660)2.2.0 - 2016-11-07
Fixed
with projects that did not explicitly ignore
node_modules
. (#654)import/ignore
setting was only being respected if the ignored module didn't start withan
import
orexport
JS statementprefer-default-export
: fixed crash on export extensions (#653)2.1.0 - 2016-11-02
Added
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 flowexport type
(#484 + #639, thanks @jakubsta)prefer-default-export
handles re-exported default exports (#609)newline-after-import
with decorators (#592)newline-after-import
when next line is a decoratororder
rule (#601)2.0.1 - 2016-10-06
Fixed
2.0.0! - 2016-09-30
Added
unambiguous
rule: report modules that are not unambiguously ES modules.recommended
shared config. Roughlyerrors
andwarnings
mixed together,with some
parserOptions
in the mix. (#402)react
shared config: addedjsx: true
toparserOptions.ecmaFeatures
.no-webpack-loader-syntax
rule: forbid custom Webpack loader syntax in imports. (#586, thanks @fson!)newlines-between: "ignore"
toorder
(#519)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 bydefault
,named
, ornamespace
, regardless ofimport/ignore
. (#270)newline-after-import
: Removed need for an empty line after an inlinerequire
call (#570)order
: Default value fornewlines-between
option is nowignore
(#519)Changed
imports-first
is renamed tofirst
.imports-first
alias will continue toexist, but may be removed in a future major release.
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)1.16.0 - 2016-09-22
Added
no-dynamic-require
rule: forbidrequire()
calls with expressions. (#567, #568)no-internal-modules
rule: restrict deep package imports to specific folders. (#485, thanks @spalger!)extensions
: allow override of a chosen default with options object (#555, thanks @ljharb!)Fixed
no-named-as-default
no longer false-positives onexport default from '...'
(#566, thanks @preco21)default
: allow re-export of values from ignored files as default (#545, thanks @skyrpex)1.15.0 - 2016-09-12
Added
allow
option tono-nodejs-modules
to allow exceptions (#452, #509).no-absolute-path
rule (#530, #538)max-dependencies
for specifying the maximum number of dependencies (bothimport
andrequire
) a module can have. (see #489, thanks @tizmagik)no-extraneous-dependencies
, after much bikeshedding. Thanks, @knpwrs! (#527)Fixed
no-named-as-default-member
Allow default import to have a property named "default" (#507, #508, thanks @jquense for both!)1.14.0 - 2016-08-22
Added
import/parsers
setting: parse some dependencies (i.e. TypeScript!) with a different parser than the ESLint-configured parser. (#503)Fixed
namespace
exception for get property fromnamespace
import, which are re-export from commonjs module (#499 fixes #416, thanks @wKich)1.13.0 - 2016-08-11
Added
allowComputed
option fornamespace
rule. If set totrue
, won't reportcomputed member references to namespaces. (see #456)
Changed
no-nodejs-modules
error message to include the module's name (#453, #461)Fixed
import/extensions
setting is respected in spite of the appearance of importsin an imported file. (fixes #478, thanks @rhys-vdw)
1.12.0 - 2016-07-26
Added
import/external-module-folders
setting: a possibility to configure folders for "external" modules (#444, thanks @zloirock)1.11.1 - 2016-07-20
Fixed
newline-after-import
exception forswitch
branches withrequire
s iff parsed assourceType:'module'
.(still #441, thanks again @ljharb)
1.11.0 - 2016-07-17
Added
peerDependencies
option tono-extraneous-dependencies
to allow/forbid peer dependencies (#423, #428, thanks @jfmengels!).Fixed
newline-after-import
exception for multiplerequire
s in an arrowfunction expression (e.g.
() => require('a') || require('b')
). (#441, thanks @ljharb)1.10.3 - 2016-07-08
Fixed
Symbol
dependencies (i.e.for-of
loops) due to Node 0.10 polyfillissue (see #415). Should not make any discernible semantic difference.
1.10.2 - 2016-07-04
Fixed
npm prepublish
of 1.10.1.Several
rm -rf node_modules && npm i
andgulp clean && npm prepublish
s later, it is rebuilt and republished as 1.10.2. Thanks @rhettlivingston for noticing and reporting!1.10.1 - 2016-07-02 [YANKED]
Added
2.x - 3.x
)1.10.0 - 2016-06-30
Added
no-restricted-paths
. (#155/#371, thanks @lo1tuma)import/core-modules
setting: allow configuration of additional module names,to be treated as builtin modules (a la
path
, etc. in Node). (#275 + #365, thanks @sindresorhus for driving)Fixed
newline-after-import
related to the use of switch cases. (fixes #386, thanks @ljharb for reporting) (#395)1.9.2 - 2016-06-21
Fixed
export
andno-deprecated
rules. (#348, #370)1.9.1 - 2016-06-16
Fixed
1.9.0 - 2016-06-10
Added
no-deprecated
. (#321, thanks @josh)Fixed
prefer-default-export
handlesexport function
andexport const
in same file (#359, thanks @scottnonnenberg)1.8.1 - 2016-05-23
Fixed
export * from 'foo'
now properly ignores adefault
export fromfoo
, if any. (#328/#332, thanks @jkimbo)This impacts all static analysis of imported names. (
default
,named
,namespace
,export
)order
'snewline-between
option handle multiline import statements (#313, thanks @singles)order
'snewline-between
option handle not assigned import statements (#313, thanks @singles)order
'snewline-between
option ignorerequire
statements inside object literals (#313, thanks @singles)prefer-default-export
properly handles deep destructuring,export * from ...
, and files with no exports. (#342+#343, thanks @scottnonnenberg)1.8.0 - 2016-05-11
Added
prefer-default-export
, new rule. (#308, thanks @gavriguy)Fixed
no-mutable-exports
. (#317, fixed by #322. thanks @borisyankov + @jfmengels)no-extraneous-dependencies
handle scoped packages (#316, thanks @jfmengels)1.7.0 - 2016-05-06
Added
newline-after-import
, new rule. (#245, thanks @singles)optionalDependencies
option tono-extraneous-dependencies
to allow/forbid optional dependencies (#266, thanks @jfmengels).newlines-between
option toorder
rule (#298, thanks @singles)no-mutable-exports
rule (#290, thanks @josh)import/extensions
setting: a list of file extensions to parse as modulesand search for
export
s. If unspecified, all extensions are considered valid (for now).In v2, this will likely default to
['.js', MODULE_EXT]
. (#297, to fix #267)Fixed
extensions
: fallback to source path for extension enforcement if importedmodule is not resolved. Also, never report for builtins (i.e.
path
). (#296)1.6.1 - 2016-04-28
Fixed
no-named-as-default-member
: don't crash on rest props. (#281, thanks @SimenB)null
topath
functions.Thanks to @strawbrary for bringing this up (#272) and adding OSX support to the Travis
config (#288).
1.6.0 - 2016-04-25
Added
no-named-as-default-member
towarnings
canned configno-extraneous-dependencies
rule (#241, thanks @jfmengels)extensions
rule (#250, thanks @lo1tuma)no-nodejs-modules
rule (#261, thanks @jfmengels)order
rule (#247, thanks @jfmengels)resolve.fallback
config option in the webpack resolver (#254)Changed
imports-first
now allows directives (i.e.'use strict'
) strictly beforeany imports (#256, thanks @lemonmade)
Fixed
named
now properly ignores the source module if a name is re-exported froman 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)1.5.0 - 2016-04-18
Added
no-namespace
rule (#239, thanks @singles)no-named-as-default-member
rule (#243, thanks @dmnd)Changed
Removed
es6-*
ponyfills. Using native Map/Set/Symbol.1.4.0 - 2016-03-25
Added
Still backwards-compatible with the original version of the resolver spec.
Changed
package.json/files
instead of.npmignore
for package file inclusion (#228, thanks @mathieudutour)es6-*
ponyfills instead ofbabel-runtime
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
Fixed
import/ignore
setting ifsomething that looks like an
export
is detected in the module content.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
import/cache
setting1.1.0 - 2016-03-15
Added
ignore
option tono-unresolved
for those pesky files that noresolver can find. (still prefer enhancing the Webpack and Node resolvers to
using it, though). See #89 for details.
1.0.4 - 2016-03-11
Changed
namespace
/no-deprecated
) (#211)Fixed
eslint_d
for deep namespaces (#200)1.0.3 - 2016-02-26
Changed
Fixed
namespace
no longer flags modules with only a default export as having nonames. (ns.default is valid ES6)
1.0.2 - 2016-02-26
Fixed
1.0.1 - 2016-02-25
Fixed
stage-0
shared configno-deprecated
1.0.0 - 2016-02-24
Added
no-deprecated
: WIP rule to let you know at lint time if you're usingdeprecated functions, constants, classes, or modules.
Changed
namespace
: support deep namespaces (#119 via #157)1.0.0-beta.0 - 2016-02-13
Changed
import/parser
orimport/parse-options
. Instead,ESLint provides the configured parser + options to the rules, and they use that
to parse dependencies.
Removed
babylon
as default import parser (see Breaking)0.13.0 - 2016-02-08
Added
no-commonjs
ruleno-amd
ruleRemoved
no-require
rule.no-commonjs
is more complete.0.12.2 - 2016-02-06 [YANKED]
Unpublished from npm and re-released as 0.13.0. See #170.
0.12.1 - 2015-12-17
Changed
0.12.0 - 2015-12-14
Changed
import/ignore
setting if exports are actually found in the parsed module. Doesthis to support use of
jsnext:main
innode_modules
without the pain ofmanaging an allow list or a nuanced deny list.
0.11.0 - 2015-11-27
Added
aliases and ignore externals, dismisses inline loaders, etc. etc.!
Earlier releases (0.10.1 and younger)
See GitHub release notes
for info on changes for earlier releases.
Commits
v2.9.0
a9bee1a
Merge pull request #727 from giodamelio/feature-no-self-import43083e0
Merge pull request #672 from dplusic/bugfix/extensions9ce605d
[Tests] put newer builds at the top2aef76e
Merge pull request #775 from shinnn/rimraf697afb2
Merge pull request #845 from daltones/patch-2bac9794
Merge pull request #977 from fatfisz/no-anonymous-call-default-export6c567e8
eslint-import-resolver-node: [deps] update `debug`, `resolve`2470ed7
eslint-import-resolver-node: [dev deps] update `chai`, `mocha`, `nyc`359a200
[Tests] test resolvers in CI separatelyb131b2c
eslint-import-resolver-node: v0.3.20d44914
eslint-import-resolver-webpack: v0.8.4a56c1c0
Add URL to rule documentation to the metadata3ea1050
Move URL generation to a function60335bb
Support optional commit hash argument to docsUrl and add testsfe03d72
Use commit hash for imports-first documentation linkf12b6d0
Fix require of first in imports-firstc05cddb
Fix direct link to a file1e980af
Merge pull request #998 from Arcanemagus/rules-docs-urlc9269be
`order`: [docs] Change 1st order's example's label to valid valuec8d5e03
Check for TSModuleDeclarations7f35a3e
Expanded/improved TS tests69084df
Latest typescript and typescript-eslint-parser655c33d
Merge pull request #958 from spencerhakim/ts-nodesfa24082
Use link to tagged version for rule docsb08bd3e
Merge pull request #1005 from sudo-suhas/docs-link-taggedbae618c
Add example of how to add import/resolver config to settings7852cd7
Merge pull request #1008 from Kiwka/patch-1364e841
Add test case for import/resolve extensions orderbc50394
Merge pull request #1009 from silvenon/extensionsfdcd4d9
Add a .coffee test proving extension resolve order3268a82
Merge pull request #1010 from silvenon/extensionsab49972
Support export declarations in extensions rule219a8d2
Merge pull request #1012 from silvenon/extensions-export0e729c7
no-self-import is unreleased91cfd6d
Merge pull request #1022 from nevir/patch-18778d7c
Fixes #1023 - Load exceptions in user resolvers are not reported9b20a78
Upgraded "find-root" and "lodash.get" for the webpack resolver654d284
Merge pull request #1024 from patrick-steele-idem/issue-1023ff3d883
Merge pull request #1025 from patrick-steele-idem/update-dependencies5b0777d
Add `no-default-export` + docs/tests (#936)ae5a031
Missed a link0231c78
Merge pull request #1026 from isiahmeadows/patch-1180d71a
bump plugin to v2.9.07f8f543
Fix eslint-import-resolver-webpack with pnpm (#968)5be3f4a
changelog note for #968v2.10.0
220f209
Merge branch 'release'1f4ef02
add changelog for no-useless-path-segments44a038c
Merge pull request #1030 from graingert/patch-2402c60a
[Fix] `group-exports`: use module.exports, not export default59ea30e
Header-ify rule categories for easy linking196c238
Merge pull request #1036 from nevir/patch-1f12f2a7
Fixes #656 - Should handle object-rest properties in `namespace`1a084cc
Add tests158f4e8
Merge pull request #1039 from preco21/namespace-crash-fix0844645
Add missing env variable for webpack config4b311ac
Add Unit test using env optionefa1723
adds more examples to the import/extensions rule docs5f7ecd3
Merge pull request #1044 from botify-labs/add-missing-env-variable-in-webpack-config8c19fb4
Merge pull request #1045 from petegleeson/master84b34e8
[Docs] fixes problem with weird highlighting1eac942
Merge pull request #1048 from petegleeson/master5fa2851
wip: no-cycle support with general dependency "imports" map in ExportMap0c21c4e
sublime-linter project tweaksf7c48b5
no-cycle: real rule! first draft, perf is likely atrocious314c0b7
fix issue (and add conspicuously absent test) with 'export *'864dbcf
no-cycle: explicit CJS/AMD tests6933fa4
no-cycle: initial docs + maxDepth optiond81f48a
no-cycle: maxDepth tests + docsad66aea
smh.231874c
update eslint-import-resolver-webpack homepage to the source of the package (#997)e215b61
try solution from symbolic links in git appveyor/ci#650b34d9ff
Add autofixer for order rule (#908)ab44320
changelog notesed719a3
Merge branch 'no-cycles'82f67e6
bump utils to v2.2.06356a78
bump to v2.10.047ac30f
bump webpack resolver to v0.9.0v2.11.0
f3ff68f
Merge pull request #1055 from benmosher/release-2.10.06fe78a9
Webpack -> webpacka2acbde
add fixer for `first` (#1046)48d0a8a
changelog note for #1046ee15fa4
Merge pull request #880 from futpib/no-commonjs-allow-require19fc3df
[Fix] `no-cycle`: `create` must always return an object, even if there’s no listenersf13f18e
minor typo in import/no-cycle rule docs80d1ceb
Merge pull request #1065 from sharmilajesupaul/minor-typo-fix37bd542
Adds no-useless-path-segments documentation.5569a8c
Updates changelog.d8077c8
Merge pull request #1064 from ljharb/fix_no_cyclefb8e1e5
[patch] use `resolve` instead of `builtin-modules`f0b4f3e
Merge pull request #1069 from ljharb/resolve72ed0b8
add dynamic import webpackChunkName comment rulec9d7d66
update README121b9e1
Update recommended.js (#1066)55ee74c
Fix link to order autofixer in CHANGELOG4d0c799
Merge pull request #1068 from manovotny/no-useless-path-segments-documentation2495356
Merge pull request #1073 from swrobel/patch-1e6e4e98
respond to PR feedback9be016f
replace includes() with an indexOf() call, add test cases for multiple import functions115b6fb
remove AST selectorscfd4377
Merge pull request #1070 from byteme980/dynamic-import-chunkname-ruleThis PR has been generated by Renovate Bot.