
Highlights
- The
@eslint/compatpackage now provides utility for including.gitignorefiles or any other files with gitignore-style patterns in youreslint.config.jsfile. - Messages about ignored files have been improved to distinguish between files that are ignored because of a matching ignore pattern, files that are ignored because no matching configuration is supplied, and files that are ignored because they are located outside of the base path.
- The no-sparse-arrays rule now reports precise locations of holes in array literals.
Features
b2d256cfeat:no-sparse-arraysreport on “comma” instead of the whole array (#18579) (fisker Cheung)
Bug Fixes
6880286fix: treat*as a universal pattern (#18586) (Milos Djermanovic)7fbe211fix: message template for all files ignored (#18564) (Milos Djermanovic)469cb36fix: Don’t lint the same file multiple times (#18552) (Milos Djermanovic)5cff638fix: improve message for ignored files without a matching config (#18404) (Francesco Trotta)
Documentation
455f7fddocs: add section about including.gitignorefiles (#18590) (Milos Djermanovic)721eafedocs: update info about universalfilespatterns (#18587) (Francesco Trotta)8127127docs: Update README (GitHub Actions Bot)55c2a66docs: Update README (GitHub Actions Bot)eb76282docs: Update README (GitHub Actions Bot)ff6e96edocs:baseConfigandoverrideConfigcan be arrays (#18571) (Milos Djermanovic)d2d83e0docs: Add mention of eslint-transforms to v9 migration guide (#18566) (Nicholas C. Zakas)9ce6832docs: add callout box for unintuitive behavior (#18567) (Ben McCann)b8db99cdocs: Add VS Code info to config migration guide (#18555) (Nicholas C. Zakas)518a35cdocs: Mention config migrator (#18561) (Nicholas C. Zakas)eb440fcdocs: specifying files with arbitrary or no extension (#18539) (Francesco Trotta)38c159edocs: Provide example of reading package.json for plugins meta (#18530) (Nicholas C. Zakas)d16a659docs: add link to migration guide for--extCLI option (#18537) (Milos Djermanovic)73408dedocs: add link to configuration file docs before examples (#18535) (Milos Djermanovic)
Chores
f588160chore: upgrade @eslint/js@9.5.0 (#18591) (Milos Djermanovic)5890841chore: package.json update for @eslint/js release (Jenkins)e9f4ccdchore: remove unused eslint-disable directive (#18589) (Milos Djermanovic)4b23ffdrefactor: Move JS parsing logic into JS language (#18448) (Nicholas C. Zakas)1495b93chore: update WebdriverIO packages (#18558) (Christian Bromann)cea7edechore: add website donate link instead of opencollective (#18582) (Strek)ec94880chore: package.json update for eslint-config-eslint release (Jenkins)6912586chore: extract formatting rules into separate config (#18560) (Milos Djermanovic)9738f7eci: fix CLI flags for c8, raise thresholds (#18554) (Francesco Trotta)c6de7bbchore: update dependency markdownlint-cli to ^0.41.0 (#18538) (renovate[bot])2c8fd34ci: pin @wdio/browser-runner v8.36.0 (#18540) (唯然)
