eslint-module-utils
Advanced tools
Changelog
[2.4.0] - 2017-06-02 [YANKED]
Yanked due to critical issue in eslint-module-utils with cache key resulting from [#839].
filePath
into parserOptions
passed to parser
([#839], thanks [@sompylasar])allow
option to [no-unassigned-import
] to allow for files that match the globs ([#671], [#737], thanks [@kevin940726]).Changelog
[2.3.0] - 2017-05-18
no-anonymous-default-export
] rule: report anonymous default exports ([#712], thanks [@duncanbeevers]).order
]'s newlines-between
option to allow newlines inside import groups ([#627], [#628], thanks [@giodamelio])count
option to the [newline-after-import
] rule to allow configuration of number of newlines expected ([#742], thanks [@ntdb])no-extraneous-dependencies
]: use read-pkg-up
to simplify finding + loading package.json
([#680], thanks [@wtgtybhertgeghgtwtg])no-extraneous-dependencies
] ([#685], thanks [@ramasilveyra])no-mutable-exports
]. ([#660])Changelog
[2.2.0] - 2016-11-07
node_modules
. ([#654])import/ignore
setting] was only being respected if the ignored module didn't start with
an import
or export
JS statementprefer-default-export
]: fixed crash on export extensions ([#653])Changelog
[2.0.0]! - 2016-09-30
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
.no-webpack-loader-syntax
] rule: forbid custom Webpack loader syntax in imports. ([#586], thanks [@fson]!)newlines-between: "ignore"
to [order
] ([#519])no-unassigned-import
] rule ([#529])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])imports-first
is renamed to [first
]. imports-first
alias will continue to
exist, but may be removed in a future major release.no-unresolved
].
Other rules will ignore case-mismatches on paths on case-insensitive filesystems. ([#311])no-internal-modules
]: support @
-scoped packages ([#577]+[#578], thanks [@spalger])Changelog
[1.0.0] - 2016-02-24
no-deprecated
]: WIP rule to let you know at lint time if you're using deprecated functions, constants, classes, or modules.namespace
]: support deep namespaces ([#119] via [#157])Changelog
[1.0.0-beta.0] - 2016-02-13
import/parser
or import/parse-options
. Instead, ESLint provides the configured parser + options to the rules, and they use that to parse dependencies.babylon
as default import parser (see Breaking)