Highlights
Types now included
We’ve been receiving complaints about the @types/eslint
package not being updated after the v9 release. While we did do an initial update to the package for v9, it quickly became apparent that regular updates to that package could not be accomplished in a timely manner. Ultimately, we decided that the only way for us to provide the type of experience we want for ESLint is to take complete ownership of the type definitions.
As a result, beginning with this release, the eslint
package now publishes its own types. To start, we’ve copied the type definitions from @types/eslint
in order to provide a smooth transition. (There was one bug in the types that we fixed, but otherwise it’s the same type definitions.) Going forward, we’ll continue to iterate and improve the type definitions as part of our regular release cycle.
We’re grateful to everyone who contributed types to the @types/eslint
package at a time when we weren’t ready to take that work on.
Other notable changes
- The
require-unicode-regexp
rule can now enforce usage of thev
flag with regular expressions. Check out the new optionrequireFlag
. - This release also fixes problems found in the
id-length
andno-invalid-regexp
rules.
Features
301b90d
feat: Add types (#18854) (Nicholas C. Zakas)bcf0df5
feat: limit namespace import identifier in id-length rule (#18849) (ChaedongIm)45c18e1
feat: addrequireFlag
option torequire-unicode-regexp
rule (#18836) (Brett Zamir)183b459
feat: add error message for duplicate flags inno-invalid-regexp
(#18837) (Tanuj Kanti)c69b406
feat: report duplicate allowed flags inno-invalid-regexp
(#18754) (Tanuj Kanti)
Documentation
bee0e7a
docs: update README (#18865) (Milos Djermanovic)5d80b59
docs: specify thatruleId
can benull
in custom formatter docs (#18857) (Milos Djermanovic)156b1c3
docs: Update README (GitHub Actions Bot)f6fdef9
docs: Update README (GitHub Actions Bot)a20c870
docs: Update README (GitHub Actions Bot)90e699b
docs: Update README (GitHub Actions Bot)
Chores
24c3ff7
chore: upgrade to @eslint/js@9.10.0 (#18866) (Francesco Trotta)1ebdde1
chore: package.json update for @eslint/js release (Jenkins)e8fc5bd
chore: update dependency @eslint/core to ^0.5.0 (#18848) (renovate[bot])343f992
refactor: don’t usenode.value
when removing unused directives (#18835) (Milos Djermanovic)3db18b0
refactor: Extract FileContext into class (#18831) (Nicholas C. Zakas)931d650
refactor: Use @eslint/plugin-kit (#18822) (Nicholas C. Zakas)ed5cf0c
chore: update dependency @eslint/json to ^0.4.0 (#18829) (Milos Djermanovic)d1f0831
chore: added missing ids (#18817) (Strek)ec92813
refactor: Config class (#18763) (Nicholas C. Zakas)