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.0tov2.11.0Release Notes
v2.9.0Added
group-exportsrule: style-guide rule to report use of multiple named exports (#721, thanks @robertrossmann)no-self-importrule: forbids a module from importing itself. (#727, #449, #447, thanks @giodamelio).no-default-exportrule (#889, thanks @isiahmeadows)no-useless-path-segmentsrule (#912, thanks @graingert and @danny-andrews)v2.10.0Added
orderrule (#908, thanks @tihonove)no-cyclerule: reports import cycles.v2.11.0Added
first(#1046, thanks @fengkfengk)allow-requireoption forno-commonjsrule (#880, thanks @futpib)Fixed
2.10.0 - 2018-03-29
Added
orderrule (#908, thanks @tihonove)no-cyclerule: reports import cycles.2.9.0 - 2018-02-21
Added
group-exportsrule: style-guide rule to report use of multiple named exports (#721, thanks @robertrossmann)no-self-importrule: forbids a module from importing itself. (#727, #449, #447, thanks @giodamelio).no-default-exportrule (#889, thanks @isiahmeadows)no-useless-path-segmentsrule (#912, thanks @graingert and @danny-andrews)2.8.0 - 2017-10-18
Added
exports-lastrule (#620 + #632, thanks @k15a)Changed
Fixed
2.7.0 - 2017-07-06
Changed
no-absolute-pathpicks up speed boost, optional AMD support (#843, thanks @jseminck)2.6.1 - 2017-06-29
Fixed
2.6.0 - 2017-06-23
Changed
memo-parserupdated to requirefilePathon 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
filePathintoparserOptionspassed toparser(#839, thanks @sompylasar)allowoption tono-unassigned-importto allow for files that match the globs (#671, #737, thanks @kevin940726).2.3.0 - 2017-05-18
Added
no-anonymous-default-exportrule: report anonymous default exports (#712, thanks @duncanbeevers).order'snewlines-betweenoption to allow newlines inside import groups (#627, #628, thanks @giodamelio)countoption to thenewline-after-importrule to allow configuration of number of newlines expected (#742, thanks @ntdb)Changed
no-extraneous-dependencies: useread-pkg-upto 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/ignoresetting was only being respected if the ignored module didn't start withan
importorexportJS statementprefer-default-export: fixed crash on export extensions (#653)2.1.0 - 2016-11-02
Added
no-named-defaultrule: 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-exporthandles flowexport type(#484 + #639, thanks @jakubsta)prefer-default-exporthandles re-exported default exports (#609)newline-after-importwith decorators (#592)newline-after-importwhen next line is a decoratororderrule (#601)2.0.1 - 2016-10-06
Fixed
2.0.0! - 2016-09-30
Added
unambiguousrule: report modules that are not unambiguously ES modules.recommendedshared config. Roughlyerrorsandwarningsmixed together,with some
parserOptionsin the mix. (#402)reactshared config: addedjsx: truetoparserOptions.ecmaFeatures.no-webpack-loader-syntaxrule: forbid custom Webpack loader syntax in imports. (#586, thanks @fson!)newlines-between: "ignore"toorder(#519)no-unassigned-importrule (#529)Breaking
import/extensionssetting defaults to['.js']. (#306)import/ignoresetting 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 inlinerequirecall (#570)order: Default value fornewlines-betweenoption is nowignore(#519)Changed
imports-firstis renamed tofirst.imports-firstalias 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-requirerule: forbidrequire()calls with expressions. (#567, #568)no-internal-modulesrule: 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-defaultno 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
allowoption tono-nodejs-modulesto allow exceptions (#452, #509).no-absolute-pathrule (#530, #538)max-dependenciesfor specifying the maximum number of dependencies (bothimportandrequire) a module can have. (see #489, thanks @tizmagik)no-extraneous-dependencies, after much bikeshedding. Thanks, @knpwrs! (#527)Fixed
no-named-as-default-memberAllow default import to have a property named "default" (#507, #508, thanks @jquense for both!)1.14.0 - 2016-08-22
Added
import/parserssetting: parse some dependencies (i.e. TypeScript!) with a different parser than the ESLint-configured parser. (#503)Fixed
namespaceexception for get property fromnamespaceimport, which are re-export from commonjs module (#499 fixes #416, thanks @wKich)1.13.0 - 2016-08-11
Added
allowComputedoption fornamespacerule. If set totrue, won't reportcomputed member references to namespaces. (see #456)
Changed
no-nodejs-moduleserror message to include the module's name (#453, #461)Fixed
import/extensionssetting 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-folderssetting: a possibility to configure folders for "external" modules (#444, thanks @zloirock)1.11.1 - 2016-07-20
Fixed
newline-after-importexception forswitchbranches withrequires iff parsed assourceType:'module'.(still #441, thanks again @ljharb)
1.11.0 - 2016-07-17
Added
peerDependenciesoption tono-extraneous-dependenciesto allow/forbid peer dependencies (#423, #428, thanks @jfmengels!).Fixed
newline-after-importexception for multiplerequires in an arrowfunction expression (e.g.
() => require('a') || require('b')). (#441, thanks @ljharb)1.10.3 - 2016-07-08
Fixed
Symboldependencies (i.e.for-ofloops) due to Node 0.10 polyfillissue (see #415). Should not make any discernible semantic difference.
1.10.2 - 2016-07-04
Fixed
npm prepublishof 1.10.1.Several
rm -rf node_modules && npm iandgulp clean && npm prepublishs 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-modulessetting: 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-importrelated to the use of switch cases. (fixes #386, thanks @ljharb for reporting) (#395)1.9.2 - 2016-06-21
Fixed
exportandno-deprecatedrules. (#348, #370)1.9.1 - 2016-06-16
Fixed
1.9.0 - 2016-06-10
Added
no-deprecated. (#321, thanks @josh)Fixed
prefer-default-exporthandlesexport functionandexport constin same file (#359, thanks @scottnonnenberg)1.8.1 - 2016-05-23
Fixed
export * from 'foo'now properly ignores adefaultexport fromfoo, if any. (#328/#332, thanks @jkimbo)This impacts all static analysis of imported names. (
default,named,namespace,export)order'snewline-betweenoption handle multiline import statements (#313, thanks @singles)order'snewline-betweenoption handle not assigned import statements (#313, thanks @singles)order'snewline-betweenoption ignorerequirestatements inside object literals (#313, thanks @singles)prefer-default-exportproperly 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-dependencieshandle scoped packages (#316, thanks @jfmengels)1.7.0 - 2016-05-06
Added
newline-after-import, new rule. (#245, thanks @singles)optionalDependenciesoption tono-extraneous-dependenciesto allow/forbid optional dependencies (#266, thanks @jfmengels).newlines-betweenoption toorderrule (#298, thanks @singles)no-mutable-exportsrule (#290, thanks @josh)import/extensionssetting: a list of file extensions to parse as modulesand search for
exports. 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)nulltopathfunctions.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-membertowarningscanned configno-extraneous-dependenciesrule (#241, thanks @jfmengels)extensionsrule (#250, thanks @lo1tuma)no-nodejs-modulesrule (#261, thanks @jfmengels)orderrule (#247, thanks @jfmengels)resolve.fallbackconfig option in the webpack resolver (#254)Changed
imports-firstnow allows directives (i.e.'use strict') strictly beforeany imports (#256, thanks @lemonmade)
Fixed
namednow 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-memberhad a crash on destructuring in loops (thanks for heads up from @lemonmade)1.5.0 - 2016-04-18
Added
no-namespacerule (#239, thanks @singles)no-named-as-default-memberrule (#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/filesinstead of.npmignorefor package file inclusion (#228, thanks @mathieudutour)es6-*ponyfills instead ofbabel-runtime1.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/ignoresetting ifsomething that looks like an
exportis 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-unresolvedin isolation, and ~35% total reduction in lint time.Changed
import/cachesetting1.1.0 - 2016-03-15
Added
ignoreoption tono-unresolvedfor 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_dfor deep namespaces (#200)1.0.3 - 2016-02-26
Changed
Fixed
namespaceno 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-0shared configno-deprecated1.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/parserorimport/parse-options. Instead,ESLint provides the configured parser + options to the rules, and they use that
to parse dependencies.
Removed
babylonas default import parser (see Breaking)0.13.0 - 2016-02-08
Added
no-commonjsruleno-amdruleRemoved
no-requirerule.no-commonjsis 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/ignoresetting if exports are actually found in the parsed module. Doesthis to support use of
jsnext:maininnode_moduleswithout 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
a9bee1aMerge pull request #727 from giodamelio/feature-no-self-import43083e0Merge pull request #672 from dplusic/bugfix/extensions9ce605d[Tests] put newer builds at the top2aef76eMerge pull request #775 from shinnn/rimraf697afb2Merge pull request #845 from daltones/patch-2bac9794Merge pull request #977 from fatfisz/no-anonymous-call-default-export6c567e8eslint-import-resolver-node: [deps] update `debug`, `resolve`2470ed7eslint-import-resolver-node: [dev deps] update `chai`, `mocha`, `nyc`359a200[Tests] test resolvers in CI separatelyb131b2ceslint-import-resolver-node: v0.3.20d44914eslint-import-resolver-webpack: v0.8.4a56c1c0Add URL to rule documentation to the metadata3ea1050Move URL generation to a function60335bbSupport optional commit hash argument to docsUrl and add testsfe03d72Use commit hash for imports-first documentation linkf12b6d0Fix require of first in imports-firstc05cddbFix direct link to a file1e980afMerge pull request #998 from Arcanemagus/rules-docs-urlc9269be`order`: [docs] Change 1st order's example's label to valid valuec8d5e03Check for TSModuleDeclarations7f35a3eExpanded/improved TS tests69084dfLatest typescript and typescript-eslint-parser655c33dMerge pull request #958 from spencerhakim/ts-nodesfa24082Use link to tagged version for rule docsb08bd3eMerge pull request #1005 from sudo-suhas/docs-link-taggedbae618cAdd example of how to add import/resolver config to settings7852cd7Merge pull request #1008 from Kiwka/patch-1364e841Add test case for import/resolve extensions orderbc50394Merge pull request #1009 from silvenon/extensionsfdcd4d9Add a .coffee test proving extension resolve order3268a82Merge pull request #1010 from silvenon/extensionsab49972Support export declarations in extensions rule219a8d2Merge pull request #1012 from silvenon/extensions-export0e729c7no-self-import is unreleased91cfd6dMerge pull request #1022 from nevir/patch-18778d7cFixes #1023 - Load exceptions in user resolvers are not reported9b20a78Upgraded "find-root" and "lodash.get" for the webpack resolver654d284Merge pull request #1024 from patrick-steele-idem/issue-1023ff3d883Merge pull request #1025 from patrick-steele-idem/update-dependencies5b0777dAdd `no-default-export` + docs/tests (#936)ae5a031Missed a link0231c78Merge pull request #1026 from isiahmeadows/patch-1180d71abump plugin to v2.9.07f8f543Fix eslint-import-resolver-webpack with pnpm (#968)5be3f4achangelog note for #968v2.10.0
220f209Merge branch 'release'1f4ef02add changelog for no-useless-path-segments44a038cMerge pull request #1030 from graingert/patch-2402c60a[Fix] `group-exports`: use module.exports, not export default59ea30eHeader-ify rule categories for easy linking196c238Merge pull request #1036 from nevir/patch-1f12f2a7Fixes #656 - Should handle object-rest properties in `namespace`1a084ccAdd tests158f4e8Merge pull request #1039 from preco21/namespace-crash-fix0844645Add missing env variable for webpack config4b311acAdd Unit test using env optionefa1723adds more examples to the import/extensions rule docs5f7ecd3Merge pull request #1044 from botify-labs/add-missing-env-variable-in-webpack-config8c19fb4Merge pull request #1045 from petegleeson/master84b34e8[Docs] fixes problem with weird highlighting1eac942Merge pull request #1048 from petegleeson/master5fa2851wip: no-cycle support with general dependency "imports" map in ExportMap0c21c4esublime-linter project tweaksf7c48b5no-cycle: real rule! first draft, perf is likely atrocious314c0b7fix issue (and add conspicuously absent test) with 'export *'864dbcfno-cycle: explicit CJS/AMD tests6933fa4no-cycle: initial docs + maxDepth optiond81f48ano-cycle: maxDepth tests + docsad66aeasmh.231874cupdate eslint-import-resolver-webpack homepage to the source of the package (#997)e215b61try solution from symbolic links in git appveyor/ci#650b34d9ffAdd autofixer for order rule (#908)ab44320changelog notesed719a3Merge branch 'no-cycles'82f67e6bump utils to v2.2.06356a78bump to v2.10.047ac30fbump webpack resolver to v0.9.0v2.11.0
f3ff68fMerge pull request #1055 from benmosher/release-2.10.06fe78a9Webpack -> webpacka2acbdeadd fixer for `first` (#1046)48d0a8achangelog note for #1046ee15fa4Merge pull request #880 from futpib/no-commonjs-allow-require19fc3df[Fix] `no-cycle`: `create` must always return an object, even if there’s no listenersf13f18eminor typo in import/no-cycle rule docs80d1cebMerge pull request #1065 from sharmilajesupaul/minor-typo-fix37bd542Adds no-useless-path-segments documentation.5569a8cUpdates changelog.d8077c8Merge pull request #1064 from ljharb/fix_no_cyclefb8e1e5[patch] use `resolve` instead of `builtin-modules`f0b4f3eMerge pull request #1069 from ljharb/resolve72ed0b8add dynamic import webpackChunkName comment rulec9d7d66update README121b9e1Update recommended.js (#1066)55ee74cFix link to order autofixer in CHANGELOG4d0c799Merge pull request #1068 from manovotny/no-useless-path-segments-documentation2495356Merge pull request #1073 from swrobel/patch-1e6e4e98respond to PR feedback9be016freplace includes() with an indexOf() call, add test cases for multiple import functions115b6fbremove AST selectorscfd4377Merge pull request #1070 from byteme980/dynamic-import-chunkname-ruleThis PR has been generated by Renovate Bot.