
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-regexprule can now enforce usage of thevflag with regular expressions. Check out the new optionrequireFlag. - This release also fixes problems found in the
id-lengthandno-invalid-regexprules.
Features
301b90dfeat: Add types (#18854) (Nicholas C. Zakas)bcf0df5feat: limit namespace import identifier in id-length rule (#18849) (ChaedongIm)45c18e1feat: addrequireFlagoption torequire-unicode-regexprule (#18836) (Brett Zamir)183b459feat: add error message for duplicate flags inno-invalid-regexp(#18837) (Tanuj Kanti)c69b406feat: report duplicate allowed flags inno-invalid-regexp(#18754) (Tanuj Kanti)
Documentation
bee0e7adocs: update README (#18865) (Milos Djermanovic)5d80b59docs: specify thatruleIdcan benullin custom formatter docs (#18857) (Milos Djermanovic)156b1c3docs: Update README (GitHub Actions Bot)f6fdef9docs: Update README (GitHub Actions Bot)a20c870docs: Update README (GitHub Actions Bot)90e699bdocs: Update README (GitHub Actions Bot)
Chores
24c3ff7chore: upgrade to @eslint/js@9.10.0 (#18866) (Francesco Trotta)1ebdde1chore: package.json update for @eslint/js release (Jenkins)e8fc5bdchore: update dependency @eslint/core to ^0.5.0 (#18848) (renovate[bot])343f992refactor: don’t usenode.valuewhen removing unused directives (#18835) (Milos Djermanovic)3db18b0refactor: Extract FileContext into class (#18831) (Nicholas C. Zakas)931d650refactor: Use @eslint/plugin-kit (#18822) (Nicholas C. Zakas)ed5cf0cchore: update dependency @eslint/json to ^0.4.0 (#18829) (Milos Djermanovic)d1f0831chore: added missing ids (#18817) (Strek)ec92813refactor: Config class (#18763) (Nicholas C. Zakas)
