Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^9.10.0
->^9.17.0
^15.2.10
->^15.3.0
Release Notes
eslint/eslint (eslint)
v9.17.0
Compare Source
v9.16.0
Compare Source
Features
8f70eb1
feat: AddignoreComputedKeys
option insort-keys
rule (#19162) (Milos Djermanovic)Documentation
9eefc8f
docs: fix typos inuse-isnan
(#19190) (루밀LuMir)0c8cea8
docs: switch the order of words inno-unreachable
(#19189) (루밀LuMir)0c19417
docs: add missing backtick tono-async-promise-executor
(#19188) (루밀LuMir)8df9276
docs: add backtick in-0
indescription
ofno-compare-neg-zero
(#19186) (루밀LuMir)7e16e3f
docs: fixcaseSensitive
option's title ofsort-keys
(#19183) (Tanuj Kanti)0c6b842
docs: fix typos inmigration-guide.md
(#19180) (루밀LuMir)353266e
docs: fix a typo indebug.md
(#19179) (루밀LuMir)5ff318a
docs: delete unnecessary horizontal rule(---
) innodejs-api
(#19175) (루밀LuMir)576bcc5
docs: mark more rules as handled by TypeScript (#19164) (Tanuj Kanti)742d054
docs: note thatno-restricted-syntax
can be used with any language (#19148) (Milos Djermanovic)Chores
feb703b
chore: upgrade to@eslint/[email protected]
(#19195) (Francesco Trotta)df9bf95
chore: package.json update for @eslint/js release (Jenkins)f831893
chore: add type forignoreComputedKeys
option ofsort-keys
(#19184) (Tanuj Kanti)3afb8a1
chore: update dependency @eslint/json to ^0.8.0 (#19177) (Milos Djermanovic)1f77c53
chore: addrepository.directory
property topackage.json
(#19165) (루밀LuMir)d460594
chore: update dependency @arethetypeswrong/cli to ^0.17.0 (#19147) (renovate[bot])45cd4ea
refactor: update default options in rules (#19136) (Milos Djermanovic)v9.15.0
Compare Source
v9.14.0
Compare Source
v9.13.0
Compare Source
v9.12.0
Compare Source
Features
5a6a053
feat: update tojiti
v2 (#18954) (Arya Emami)17a07fb
feat: Hooks for test cases (RuleTester) (#18771) (Anna Bocharova)2ff0e51
feat: Implement alternate config lookup (#18742) (Nicholas C. Zakas)2d17453
feat: Implement modified cyclomatic complexity (#18896) (Dmitry Pashkevich)Bug Fixes
ea380ca
fix: Upgrade retry to avoid EMFILE errors (#18986) (Nicholas C. Zakas)fdd6319
fix: Issues with type definitions (#18940) (Arya Emami)Documentation
ecbd522
docs: Mention code explorer (#18978) (Nicholas C. Zakas)7ea4ecc
docs: Clarifying the Use of Meta Objects (#18697) (Amaresh S M)d3e4b2e
docs: Clarify how to exclude.js
files (#18976) (Milos Djermanovic)57232ff
docs: Mention plugin-kit in language docs (#18973) (Nicholas C. Zakas)b80ed00
docs: Update README (GitHub Actions Bot)cb69ab3
docs: Update README (GitHub Actions Bot)7fb0d95
docs: Update README (GitHub Actions Bot)493348a
docs: Update README (GitHub Actions Bot)87a582c
docs: fix typo inid-match
rule (#18944) (Jay)Chores
555aafd
chore: upgrade to@eslint/[email protected]
(#18987) (Francesco Trotta)873ae60
chore: package.json update for @eslint/js release (Jenkins)d0a5414
refactor: replace strip-ansi with native module (#18982) (Cristopher)b827029
chore: Enable JSON5 linting (#18979) (Milos Djermanovic)8f55ca2
chore: Upgrade espree, eslint-visitor-keys, eslint-scope (#18962) (Nicholas C. Zakas)c1a2725
chore: update dependency mocha to ^10.7.3 (#18945) (Milos Djermanovic)v9.11.1
Compare Source
v9.11.0
Compare Source
Features
ec30c73
feat: add "eslint/universal" to exportLinter
(#18883) (唯然)c591da6
feat: Add language to types (#18917) (Nicholas C. Zakas)492eb8f
feat: limit the name given toImportSpecifier
inid-length
(#18861) (Tanuj Kanti)19c6856
feat: Addno-useless-constructor
suggestion (#18799) (Jordan Thomson)a48f8c2
feat: add typeFormatterFunction
, updateLoadedFormatter
(#18872) (Francesco Trotta)Bug Fixes
5e5f39b
fix: add missing types forno-restricted-exports
rule (#18914) (Kristóf Poduszló)8f630eb
fix: add missing types forno-param-reassign
options (#18906) (Kristóf Poduszló)d715781
fix: add missing types forno-extra-boolean-cast
options (#18902) (Kristóf Poduszló)2de5742
fix: add missing types forno-misleading-character-class
options (#18905) (Kristóf Poduszló)c153084
fix: add missing types forno-implicit-coercion
options (#18903) (Kristóf Poduszló)fa11b2e
fix: add missing types forno-empty-function
options (#18901) (Kristóf Poduszló)a0deed1
fix: add missing types forcamelcase
options (#18897) (Kristóf Poduszló)Documentation
e4e5709
docs: correctprefer-object-has-own
type definition comment (#18924) (Nitin Kumar)91cbd18
docs: add unicode abbreviations in no-irregular-whitespace rule (#18894) (Alix Royere)59cfc0f
docs: clarifyresultsMeta
inLoadedFormatter
type (#18881) (Milos Djermanovic)adcc50d
docs: Update README (GitHub Actions Bot)4edac1a
docs: Update README (GitHub Actions Bot)Build Related
959d360
build: Support updates to previous major versions (#18871) (Milos Djermanovic)Chores
ca21a64
chore: upgrade @eslint/js@9.11.0 (#18927) (Milos Djermanovic)a10f90a
chore: package.json update for @eslint/js release (Jenkins)e4e02cc
refactor: Extract processor logic into ProcessorService (#18818) (Nicholas C. Zakas)6d4484d
chore: updates for v8.57.1 release (Jenkins)71f37c5
refactor: use optional chaining when validating config rules (#18893) (lucasrmendonca)2c2805f
chore: Add PR note to all templates (#18892) (Nicholas C. Zakas)7b852ce
refactor: useDirective
class from@eslint/plugin-kit
(#18884) (Milos Djermanovic)d594ddd
chore: update dependency @eslint/core to ^0.6.0 (#18863) (renovate[bot])78b2421
chore: Update change.yml (#18882) (Nicholas C. Zakas)a416f0a
chore: enable$ExpectType
comments in .ts files (#18869) (Francesco Trotta)lint-staged/lint-staged (lint-staged)
v15.3.0
Compare Source
Minor Changes
#1495
e69da9e
Thanks @iiroj! - Added more info to the debug logs so that "environment" info doesn't need to be added separately to GitHub issues.#1493
fa0fe98
Thanks @iiroj! - Added more help messages around the automaticgit stash
that lint-staged creates as a backup (by default). The console output also displays the short git hash of the stash so that it's easier to recover lost files in case some fatal errors are encountered, or the process is killed before completing.For example:
where the backup can be seen with
git show 20addf8
, orgit stash list
:v15.2.11
Compare Source
Patch Changes
#1484
bcfe309
Thanks @wormsik! - Escape paths containing spaces when using the "shell" option.#1487
7dd8caa
Thanks @iiroj! - Do not treat submodule root paths as "staged files". This caused lint-staged to fail to a Git error when only updating the revision of a submodule.Configuration
📅 Schedule: Branch creation - "* 0-3 * * 1" in timezone Asia/Kuala_Lumpur, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.