Highlights
-
The no-implicit-globals rule now supports
/* exported */
directive comments. -
ESLINT_USE_FLAT_CONFIG
environment variable can now be used for more control over switching between the current and the new config system. -
The @eslint/create-config utility to create ESLint config files has a new option
--config
:# npm 6.x
npm init @eslint/config --config semistandard
# npm 7+
npm init @eslint/config -- --config semistandard
Features
4715787
feat: checkObject.create()
in getter-return (#16420) (Yuki Hirasawa)28d1902
feat:no-implicit-globals
supportsexported
block comment (#16343) (Sosuke Suzuki)e940be7
feat: Use ESLINT_USE_FLAT_CONFIG environment variable for flat config (#16356) (Tomer Aberbach)dd0c58f
feat: Swap out Globby for custom globbing solution. (#16369) (Nicholas C. Zakas)
Bug Fixes
df77409
fix: usebaseConfig
constructor option in FlatESLint (#16432) (Milos Djermanovic)33668ee
fix: Ensure that glob patterns are matched correctly. (#16449) (Nicholas C. Zakas)740b208
fix: ignore messages without aruleId
ingetRulesMetaForResults
(#16409) (Francesco Trotta)8f9759e
fix:--ignore-pattern
in flat config mode should be relative tocwd
(#16425) (Milos Djermanovic)325ad37
fix: makegetRulesMetaForResults
return a plain object in trivial case (#16438) (Francesco Trotta)a2810bc
fix: Ensure that directories can be unignored. (#16436) (Nicholas C. Zakas)35916ad
fix: Ensure unignore and reignore work correctly in flat config. (#16422) (Nicholas C. Zakas)
Documentation
651649b
docs: Core concepts page (#16399) (Ben Perlmutter)631cf72
docs: note --ignore-path not supported with flat config (#16434) (Andy Edwards)1692840
docs: fix syntax in examples for new config files (#16427) (Milos Djermanovic)d336cfc
docs: Document extending plugin with new config (#16394) (Ben Perlmutter)