
Highlights
-
The no-implicit-globals rule now supports
/* exported */directive comments. -
ESLINT_USE_FLAT_CONFIGenvironment 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
4715787feat: checkObject.create()in getter-return (#16420) (Yuki Hirasawa)28d1902feat:no-implicit-globalssupportsexportedblock comment (#16343) (Sosuke Suzuki)e940be7feat: Use ESLINT_USE_FLAT_CONFIG environment variable for flat config (#16356) (Tomer Aberbach)dd0c58ffeat: Swap out Globby for custom globbing solution. (#16369) (Nicholas C. Zakas)
Bug Fixes
df77409fix: usebaseConfigconstructor option in FlatESLint (#16432) (Milos Djermanovic)33668eefix: Ensure that glob patterns are matched correctly. (#16449) (Nicholas C. Zakas)740b208fix: ignore messages without aruleIdingetRulesMetaForResults(#16409) (Francesco Trotta)8f9759efix:--ignore-patternin flat config mode should be relative tocwd(#16425) (Milos Djermanovic)325ad37fix: makegetRulesMetaForResultsreturn a plain object in trivial case (#16438) (Francesco Trotta)a2810bcfix: Ensure that directories can be unignored. (#16436) (Nicholas C. Zakas)35916adfix: Ensure unignore and reignore work correctly in flat config. (#16422) (Nicholas C. Zakas)
Documentation
651649bdocs: Core concepts page (#16399) (Ben Perlmutter)631cf72docs: note --ignore-path not supported with flat config (#16434) (Andy Edwards)1692840docs: fix syntax in examples for new config files (#16427) (Milos Djermanovic)d336cfcdocs: Document extending plugin with new config (#16394) (Ben Perlmutter)
