v1.22.1
What's Changed
🪄 Improvements
- docs: add getting started guides for JavaScript, TypeScript, and JavaScript with Babel
- docs: improve code samples in rules docs
- docs: improve
eslint.config.js
examples in README.md, docs and the examples folder - docs: improve the error message and description of various rules
- refactor(website): better website layout and navigation experience
📝 Changes in examples
The eslint.config.js
in the examples now uses tsconfig
's includes
and excludes
as the SSoT glob patterns for ESLint's files
and ignores
fields. This approach can fundamentally avoid the errors[1, 2, 3] caused by mismatched config scopes between tsconfig.json
and eslint.config.js
when using type-checked rules.
Full Changelog: v1.22.0...v1.22.1