All notable changes to this module will be documented in this file. This project adheres to Semantic Versioning. This change log adheres to standards from Keep a CHANGELOG.
- [
no-unused-modules
]: support dynamic imports (#1660, thanks @maxkomarychev)
- Use
context.getPhysicalFilename()
when available (ESLint 7.28+) (#2160, thanks @pmcelhaney)
no-unresolved
: checkimport()
(#2026, thanks @aladdin-add)- Add fix for Windows Subsystem for Linux (#1786, thanks @manuth)
- [deps] update
debug
- [Refactor] use
Array.isArray
instead ofinstanceof Array
- Makes the loader resolution more tolerant (#1606, thanks @arcanis)
- Use
createRequire
instead ofcreateRequireFromPath
if available (#1602, thanks @iamnapo)
- Uses createRequireFromPath to resolve loaders (#1591, thanks @arcanis)
- report the error stack on a resolution error (#599, thanks @sompylasar)
- Improve parse perf when using
@typescript-eslint/parser
(#1409, thanks @bradzacher) - Improve support for TypeScript declare structures (#1356, thanks @christophercurrie)
- Fix overwriting of dynamic import() CallExpression ([
no-cycle
], [no-relative-parent-import
], [no-unresolved
], [no-useless-path-segments
]) (#1218, #1166, #1035, thanks @vikr01)
parse
: attach node locations by default.moduleVisitor
: visitor now gets the fullimport
statement node as a second argument, so rules may report against the full statement /require
call instead of only the string literal node.
Re-releasing v2.1.0 after vetting (again) and unable to reproduce issue.
Yanked due to critical issue with cache key resulting from #839.
parse
now additionally passesfilePath
toparser
inparserOptions
likeeslint
core does
unambiguous
no longer exposes fast test regex
unambiguous.test()
regex is now properly in multiline mode