Bump eslint from 8.57.0 to 9.0.0
Bumps eslint from 8.57.0 to 9.0.0.
Release notes
Sourced from eslint's releases.
v9.0.0
Breaking Changes
b7cf3bd
fix!: correctcamelcase
rule schema forallow
option (#18232) (eMerzh)09bd7fe
feat!: move AST traversal into SourceCode (#18167) (Nicholas C. Zakas)79a95eb
feat!: disallow multiple configuration comments for same rule (#18157) (Milos Djermanovic)9163646
feat!: Rule Tester checks for missing placeholder data in the message (#18073) (fnx)3c4d51d
feat!: default forenforceForClassMembers
inno-useless-computed-key
(#18054) (Francesco Trotta)47e60f8
feat!: Stricter rule test validations (#17654) (fnx)1a94589
feat!:no-unused-vars
default caughtErrors to 'all' (#18043) (Josh Goldberg✨ )57089cb
feat!: no-restricted-imports allow multiple config entries for same path (#18021) (Milos Djermanovic)2e1d549
feat!: detect duplicate test cases (#17955) (Bryan Mishkin)701f1af
feat!: no-inner-declaration new default behaviour and option (#17885) (Tanuj Kanti)bde5105
fix!: handle--output-file
for empty output when saving to disk (#17957) (Nitin Kumar)07107a5
fix!: upgrade eslint-scope@8.0.0 (#17942) (Milos Djermanovic)3ee0f6c
fix!: no-unused-varsvarsIgnorePattern
behavior with catch arguments (#17932) (Tanuj Kanti)51f8bc8
fix!: configuration comments with just severity should retain options (#17945) (Milos Djermanovic)d191bdd
feat!: Remove CodePath#currentSegments (#17936) (Milos Djermanovic)946ae00
feat!: FlatRuleTester -> RuleTester (#17922) (Nicholas C. Zakas)baff28c
feat!: removeno-inner-declarations
fromeslint:recommended
(#17920) (Milos Djermanovic)cadfbcd
feat!: Rename FlatESLint to ESLint (#17914) (Nicholas C. Zakas)d1018fc
feat!: skip running warnings in --quiet mode (#17274) (Maddy Miller)fb81b1c
feat!: Set defaultschema: []
, drop support for function-style rules (#17792) (Milos Djermanovic)0b21e1f
feat!: add two more cases tono-implicit-coercion
(#17832) (Gürgün Dayıoğlu)2916c63
feat!: Switch Linter to flat config by default (#17851) (Nicholas C. Zakas)200518e
fix!: Parsing 'exported' comment using parseListConfig (#17675) (amondev)bdd6ba1
feat!: Remove valid-jsdoc and require-jsdoc (#17694) (Nicholas C. Zakas)12be307
fix!: Behavior of CLI when no arguments are passed (#17644) (Nicholas C. Zakas)8fe8c56
feat!: Update shouldUseFlatConfig and CLI so flat config is default (#17748) (Nicholas C. Zakas)60dea3e
feat!: deprecate no-new-symbol, recommend no-new-native-nonconstructor (#17710) (Francesco Trotta)5aa9c49
feat!: check for parsing errors in suggestion fixes (#16639) (Bryan Mishkin)b3e0bb0
feat!: assert suggestion messages are unique in rule testers (#17532) (Josh Goldberg✨ )e563c52
feat!:no-invalid-regexp
make allowConstructorFlags case-sensitive (#17533) (Josh Goldberg✨ )e5f02c7
fix!: no-sequences rule schema correction (#17878) (MHO)6ee3e9e
feat!: Updateeslint:recommended
configuration (#17716) (Milos Djermanovic)c2cf85a
feat!: drop support for string configurations in flat config array (#17717) (Milos Djermanovic)c314fd6
feat!: RemoveSourceCode#getComments()
(#17715) (Milos Djermanovic)ae78ff1
feat!: Remove deprecated context methods (#17698) (Nicholas C. Zakas)f71c328
feat!: Swap FlatESLint-ESLint, FlatRuleTester-RuleTester in API (#17823) (Nicholas C. Zakas)5304da0
feat!: remove formatters except html, json(-with-metadata), and stylish (#17531) (Josh Goldberg✨ )e1e827f
feat!: Require Node.js^18.18.0 || ^20.9.0 || >=21.1.0
(#17725) (Milos Djermanovic)Features
d54a412
feat: Add --inspect-config CLI flag (#18270) (Nicholas C. Zakas)97ce45b
feat: AddreportUsedIgnorePattern
option tono-unused-vars
rule (#17662) (Pearce Ropion)3e9fcea
feat: Show config names in error messages (#18256) (Nicholas C. Zakas)de40874
feat: Rule Performance Statistics for flat ESLint (#17850) (Mara Kiefer)d85c436
feat: use-isnan report NaN inindexOf
andlastIndexOf
with fromIndex (#18225) (Tanuj Kanti)b8fb572
feat: addreportUnusedFallthroughComment
option to no-fallthrough rule (#18188) (Kirk Waiblinger)1c173dc
feat: addignoreClassWithStaticInitBlock
option tono-unused-vars
(#18170) (Tanuj Kanti)a451b32
feat: makeno-misleading-character-class
report more granular errors (#18082) (Francesco Trotta)
... (truncated)
Changelog
Sourced from eslint's changelog.
v9.0.0 - April 5, 2024
19f9a89
chore: Update dependencies for v9.0.0 (#18275) (Nicholas C. Zakas)7c957f2
chore: package.json update for@eslint/js
release (Jenkins)d73a33c
chore: ignore/docs/v8.x
in link checker (#18274) (Milos Djermanovic)d54a412
feat: Add --inspect-config CLI flag (#18270) (Nicholas C. Zakas)e151050
docs: update get-started to the new@eslint/create-config
(#18217) (唯然)610c148
fix: Supportusing
declarations in no-lone-blocks (#18269) (Kirk Waiblinger)44a81c6
chore: upgrade knip (#18272) (Lars Kappert)94178ad
docs: mention aboutname
field in flat config (#18252) (Anthony Fu)1765c24
docs: add Troubleshooting page (#18181) (Josh Goldberg✨ )e80b60c
chore: remove code for testing version selectors (#18266) (Milos Djermanovic)96607d0
docs: version selectors synchronization (#18260) (Milos Djermanovic)e508800
fix: rule tester ignore irrelevant test case properties (#18235) (fnx)a129acb
fix: flat config name on ignores object (#18258) (Nicholas C. Zakas)97ce45b
feat: AddreportUsedIgnorePattern
option tono-unused-vars
rule (#17662) (Pearce Ropion)651ec91
docs: remove/* eslint-env */
comments from rule examples (#18249) (Milos Djermanovic)950c4f1
docs: Update README (GitHub Actions Bot)3e9fcea
feat: Show config names in error messages (#18256) (Nicholas C. Zakas)b7cf3bd
fix!: correctcamelcase
rule schema forallow
option (#18232) (eMerzh)12f5746
docs: add info about dot files and dir in flat config (#18239) (Tanuj Kanti)b93f408
docs: update shared settings example (#18251) (Tanuj Kanti)26384d3
docs: fixecmaVersion
in one example, add checks (#18241) (Milos Djermanovic)7747097
docs: Update PR review process (#18233) (Nicholas C. Zakas)b07d427
docs: fix typo (#18246) (Kirill Gavrilov)a98babc
chore: add npm script to run WebdriverIO test (#18238) (Francesco Trotta)9b7bd3b
chore: update dependency markdownlint to ^0.34.0 (#18237) (renovate[bot])778082d
docs: add Glossary page (#18187) (Josh Goldberg✨ )dadc5bf
fix:constructor-super
false positives with loops (#18226) (Milos Djermanovic)de40874
feat: Rule Performance Statistics for flat ESLint (#17850) (Mara Kiefer)d85c436
feat: use-isnan report NaN inindexOf
andlastIndexOf
with fromIndex (#18225) (Tanuj Kanti)b185eb9
9.0.0-rc.0 (Jenkins)26010c2
Build: changelog update for 9.0.0-rc.0 (Jenkins)297416d
chore: package.json update for eslint-9.0.0-rc.0 (#18223) (Francesco Trotta)d363c51
chore: package.json update for@eslint/js
release (Jenkins)239a7e2
docs: Clarify the description ofsort-imports
options (#18198) (gyeongwoo park)09bd7fe
feat!: move AST traversal into SourceCode (#18167) (Nicholas C. Zakas)b91f9dc
build: fix TypeError in prism-eslint-hooks.js (#18209) (Francesco Trotta)4769c86
docs: fix incorrect example inno-lone-blocks
(#18215) (Tanuj Kanti)1b841bb
chore: fix some comments (#18213) (avoidaway)b8fb572
feat: addreportUnusedFallthroughComment
option to no-fallthrough rule (#18188) (Kirk Waiblinger)ae8103d
fix: load plugins in the CLI in flat config mode (#18185) (Francesco Trotta)5251327
docs: Update README (GitHub Actions Bot)29c3595
chore: remove repetitive words (#18193) (cuithon)1dc8618
docs: Update README (GitHub Actions Bot)acc2e06
chore: Introduce Knip (#18005) (Lars Kappert)ba89c73
9.0.0-beta.2 (Jenkins)d7ec0d1
Build: changelog update for 9.0.0-beta.2 (Jenkins)7509276
chore: upgrade@eslint/js
@9
.0.0-beta.2 (#18180) (Milos Djermanovic)96087b3
chore: package.json update for@eslint/js
release (Jenkins)
... (truncated)
Commits
-
e0cbc50
9.0.0 -
75cb5f4
Build: changelog update for 9.0.0 -
19f9a89
chore: Update dependencies for v9.0.0 (#18275) -
7c957f2
chore: package.json update for@eslint/js
release -
d73a33c
chore: ignore/docs/v8.x
in link checker (#18274) -
d54a412
feat: Add --inspect-config CLI flag (#18270) -
e151050
docs: update get-started to the new@eslint/create-config
(#18217) -
610c148
fix: Supportusing
declarations in no-lone-blocks (#18269) -
44a81c6
chore: upgrade knip (#18272) -
94178ad
docs: mention aboutname
field in flat config (#18252) - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts