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:
^7.10.0
->^8.0.0
Release Notes
eslint/eslint
v8.36.0
Compare Source
Features
c89a485
feat: AddcheckJSDoc
option to multiline-comment-style (#16807) (Laurent Cozic)f5f5e11
feat: Serialize parsers/processors in flat config (#16944) (Nicholas C. Zakas)4799297
feat: use @eslint-community dependencies (#16784) (Michaël De Boey)Bug Fixes
92c1943
fix: correctly iterate files matched by glob patterns (#16831) (Nitin Kumar)Documentation
b98fdd4
docs: Update README (GitHub Actions Bot)caf08ce
docs: fix estree link in custom formatters docs (#16967) (Milos Djermanovic)3398431
docs: Custom Parsers cleanup/expansion (#16887) (Ben Perlmutter)19d3531
docs: Update README (GitHub Actions Bot)b09a512
docs: detect and fix broken links (#16837) (Nitin Kumar)Chores
602b111
chore: upgrade @eslint/js@8.36.0 (#16978) (Milos Djermanovic)43c2345
chore: package.json update for @eslint/js release (ESLint Jenkins)00afb84
chore: upgrade @eslint/eslintrc@2.0.1 (#16977) (Milos Djermanovic)698c5aa
chore: upgrade [email protected] (#16976) (Milos Djermanovic)75acdd2
chore: lint more js files in docs (#16964) (Milos Djermanovic)89d9844
ci: bump actions/add-to-project from 0.4.0 to 0.4.1 (#16943) (dependabot[bot])v8.35.0
Compare Source
Features
8e34a04
feat: addafterHashbangComment
option tolines-around-comment
rule (#16920) (SUZUKI Sosuke)c8c0c71
feat: Move all and recommended configs into package. (#16844) (Nicholas C. Zakas)71f6f0d
feat: report more cases with??
in no-constant-binary-expression (#16826) (Daiki Nishikawa)Bug Fixes
9698bc5
fix: pin esquery v1.4.0 (fixes #16896) (#16897) (唯然)Documentation
f9f195e
docs: Plugin docs cleanup & expansion (#16862) (Ben Perlmutter)df809fd
docs: Custom Formatters page cleanup/expansion (#16886) (Ben Perlmutter)0700d1b
docs: Add PostCSS/Autoprefixer/CSSNano (#16502) (Nick Schonning)7b9e9bf
docs: support unicode anchors (#16782) (Percy Ma)5fbc0bf
docs: Update README (GitHub Actions Bot)67865a0
docs: Remove mention of mailing list (#16869) (Amaresh S M)43af24a
docs: Add explanation of when to use 'warn' severity (#16882) (Nicholas C. Zakas)ed2999b
docs: Shareable configs page edits and expansion (#16824) (Ben Perlmutter)2780635
docs: fix typos (#16884) (Lioness100)5bdaae2
docs: Ways to Extend ESLint page (#16861) (Ben Perlmutter)Chores
cdcbe12
chore: upgrade @eslint/js@8.35.0 (#16935) (Brandon Mills)c954c34
chore: package.json update for @eslint/js release (ESLint Jenkins)5a517da
chore: package.json update for @eslint/js release (ESLint Jenkins)9f10926
chore: upgrade @eslint/eslintrc@2.0.0 (#16928) (Milos Djermanovic)da728fa
ci: use LTS node version in workflows (#16907) (Nitin Kumar)c57b4f3
perf: upgrade to [email protected] (#16901) (Milos Djermanovic)9122f07
chore: Update stale bot settings (#16870) (Nicholas C. Zakas)v8.34.0
Compare Source
Features
9b2fcf7
feat:array-callback-return
supportsArray.prototype.toSorted
(#16845) (SUZUKI Sosuke)Bug Fixes
923f61d
fix: false positive with assignment inno-extra-parens
(#16872) (Francesco Trotta)Documentation
f0a9883
docs: split rules documentation (#16797) (Ben Perlmutter)67aa37b
docs: fix typo in command-line-interface.md (#16871) (Kevin Rouchut)337f7ed
docs: fix width of language input (#16849) (Tanuj Kanti)71349a1
docs: Configure a Parser page (#16803) (Ben Perlmutter)de7e925
docs: remove extra line numbers in example (#16848) (jonz94)ad38d77
docs: Update README (GitHub Actions Bot)Chores
9dbe06d
chore: addtype
property to array-element-newline schema (#16877) (MHO)a061527
chore: Remove unused functions (#16868) (Nicholas C. Zakas)v8.33.0
Compare Source
Features
2cc7954
feat: addrestrictDefaultExports
option to no-restricted-exports rule (#16785) (Nitin Kumar)Documentation
17f4be2
docs: Fix examples in no-multiple-empty-lines rule (#16835) (jonz94)9c7cfe3
docs: 'Source Code' content in 'Set up Development Environment' page (#16780) (Ben Perlmutter)ede5c64
docs: Custom processors page (#16802) (Ben Perlmutter)2620614
docs: Code of Conduct page (#16781) (Ben Perlmutter)50a8efd
docs: report a sec vulnerability page (#16808) (Ben Perlmutter)ed60afd
docs: Update page titles, section landing pages, and side TOC (#16760) (Ben Perlmutter)333c712
docs: add background to code-path-diagrams for dark-mode (#16822) (Tanuj Kanti)f5f7b9b
docs: Update README (GitHub Actions Bot)2aa4f5f
docs: no-constant-condition: Add multi-comparison example (#16776) (Sebastian Simon)40287db
docs: Remove Google Group icon (#16779) (Nicholas C. Zakas)ea10ca5
docs: 'a .eslint' -> 'an .eslint' for consistency (#16809) (Ben Perlmutter)3be0748
docs: add example for nodejs lintText api (#16789) (Siva K)ce4f5ff
docs: Replace removed related rules with a valid rule (#16800) (Ville Saalo)v8.32.0
Compare Source
Features
fc20f24
feat: add suggestions for redundant wrapping in prefer-regex-literals (#16658) (YeonJuan)Bug Fixes
b4f8329
fix: ignore directives for no-fallthrough (#16757) (gfyoung)Documentation
17b65ad
docs: IA Update page URL move (#16665) (Ben Perlmutter)5981296
docs: fix theme switcher button (#16752) (Sam Chen)6669413
docs: deploy prerelease docs under the/docs/next/
path (#16541) (Nitin Kumar)78ecfe0
docs: use inline code for rule options name (#16768) (Percy Ma)fc2ea59
docs: Update README (GitHub Actions Bot)762a872
docs: Update README (GitHub Actions Bot)Chores
2952d6e
chore: sync templates/*.md files with issue templates (#16758) (gfyoung)3e34418
chore: Add new issues to triage project (#16740) (Nicholas C. Zakas)v8.31.0
Compare Source
Features
52c7c73
feat: check assignment patterns in no-underscore-dangle (#16693) (Milos Djermanovic)b401cde
feat: add options to check destructuring in no-underscore-dangle (#16006) (Morten Kaltoft)30d0daf
feat: group properties with values in parentheses inkey-spacing
(#16677) (Francesco Trotta)Bug Fixes
35439f1
fix: correct syntax error inprefer-arrow-callback
autofix (#16722) (Francesco Trotta)87b2470
fix: new instance of FlatESLint should load latest config file version (#16608) (Milos Djermanovic)Documentation
4339dc4
docs: Update README (GitHub Actions Bot)4e4049c
docs: optimize code block structure (#16669) (Sam Chen)54a7ade
docs: do not escape code blocks of formatters examples (#16719) (Sam Chen)e5ecfef
docs: Add function call example for no-undefined (#16712) (Elliot Huffman)a3262f0
docs: Add mastodon link (#16638) (Amaresh S M)a14ccf9
docs: clarify files property (#16709) (Sam Chen)3b29eb1
docs: fix npm link (#16710) (Abdullah Osama)a638673
docs: fix search bar focus onEsc
(#16700) (Shanmughapriyan S)f62b722
docs: country flag missing in windows (#16698) (Shanmughapriyan S)4d27ec6
docs: display zh-hans in the docs language switcher (#16686) (Percy Ma)8bda20e
docs: remove manually maintained anchors (#16685) (Percy Ma)b68440f
docs: User Guide Getting Started expansion (#16596) (Ben Perlmutter)Chores
65d4e24
chore: Upgrade @eslint/eslintrc@1.4.1 (#16729) (Brandon Mills)8d93081
chore: fix CI failure (#16721) (Sam Chen)8f17247
chore: Set up automatic updating of README (#16717) (Nicholas C. Zakas)4cd87cb
ci: bump actions/stale from 6 to 7 (#16713) (dependabot[bot])fd20c75
chore: sort package.json scripts in alphabetical order (#16705) (Darius Dzien)10a5c78
chore: update ignore patterns ineslint.config.js
(#16678) (Milos Djermanovic)v8.30.0
Compare Source
Features
075ef2c
feat: add suggestion for no-return-await (#16637) (Daniel Bartholomae)7190d98
feat: update globals (#16654) (Sébastien Règne)Bug Fixes
1a327aa
fix: Ensure flat config unignores work consistently like eslintrc (#16579) (Nicholas C. Zakas)9b8bb72
fix: autofix recursive functions in no-var (#16611) (Milos Djermanovic)Documentation
6a8cd94
docs: Clarify Discord info in issue template config (#16663) (Nicholas C. Zakas)ad44344
docs: CLI documentation standardization (#16563) (Ben Perlmutter)293573e
docs: fix broken line numbers (#16606) (Sam Chen)fa2c64b
docs: use relative links for internal links (#16631) (Percy Ma)75276c9
docs: reorder options in no-unused-vars (#16625) (Milos Djermanovic)7276fe5
docs: Fix anchor in URL (#16628) (Karl Horky)6bef135
docs: don't apply layouts to html formatter example (#16591) (Tanuj Kanti)dfc7ec1
docs: Formatters page updates (#16566) (Ben Perlmutter)8ba124c
docs: update theprefer-const
example (#16607) (Pavel)e6cb05a
docs: fix css leaking (#16603) (Sam Chen)Chores
f2c4737
chore: upgrade @eslint/eslintrc@1.4.0 (#16675) (Milos Djermanovic)ba74253
chore: standardize npm script names per #14827 (#16315) (Patrick McElhaney)0d9af4c
ci: fix npm v9 problem withfile:
(#16664) (Milos Djermanovic)90c9219
refactor: migrate off deprecated function-style rules in all tests (#16618) (Bryan Mishkin)v8.29.0
Compare Source
Features
49a07c5
feat: addallowParensAfterCommentPattern
option to no-extra-parens (#16561) (Nitin Kumar)e6a865d
feat:prefer-named-capture-group
add suggestions (#16544) (Josh Goldberg)a91332b
feat: In no-invalid-regexp validate flags also for non-literal patterns (#16583) (trosos)Documentation
0311d81
docs: Configuring Plugins page intro, page tweaks, and rename (#16534) (Ben Perlmutter)57089b1
docs: add a property assignment example for camelcase rule (#16605) (Milos Djermanovic)b6ab030
docs: add docs codeowners (#16601) (Strek)6380c87
docs: fix sitemap and feed (#16592) (Milos Djermanovic)ade621d
docs: perf debounce the search query (#16586) (Shanmughapriyan S)fbcf3ab
docs: fix searchbar clear button (#16585) (Shanmughapriyan S)f894035
docs: HTTPS link to yeoman.io (#16582) (Christian Oliff)de12b26
docs: Update configuration file pages (#16509) (Ben Perlmutter)1ae9f20
docs: update correct code examples forno-extra-parens
rule (#16560) (Nitin Kumar)Chores
7628403
chore: add discord channel link (#16590) (Amaresh S M)f5808cb
chore: fix rule doc headers check (#16564) (Milos Djermanovic)v8.28.0
Compare Source
Features
63bce44
feat: addignoreClassFieldInitialValues
option to no-magic-numbers (#16539) (Milos Djermanovic)8385ecd
feat: multiline properties in rulekey-spacing
with optionalign
(#16532) (Francesco Trotta)a4e89db
feat:no-obj-calls
supportIntl
(#16543) (Sosuke Suzuki)Bug Fixes
c50ae4f
fix: Ensure that dot files are found with globs. (#16550) (Nicholas C. Zakas)9432b67
fix: throw error for first unmatched pattern (#16533) (Milos Djermanovic)e76c382
fix: allow* 1
when followed by/
in no-implicit-coercion (#16522) (Milos Djermanovic)Documentation
34c05a7
docs: Language Options page intro and tweaks (#16511) (Ben Perlmutter)3e66387
docs: add intro and edit ignoring files page (#16510) (Ben Perlmutter)436f712
docs: fix Header UI inconsistency (#16464) (Tanuj Kanti)f743816
docs: switch to wrench emoji for auto-fixable rules (#16545) (Bryan Mishkin)bc0547e
docs: improve styles for versions and languages page (#16553) (Nitin Kumar)6070f58
docs: clarify esquery issue workaround (#16556) (Milos Djermanovic)b48e4f8
docs: Command Line Interface intro and tweaks (#16535) (Ben Perlmutter)b92b30f
docs: Add Rules page intro and content tweaks (#16523) (Ben Perlmutter)1769b42
docs: Integrations page introduction (#16548) (Ben Perlmutter)a8d0a57
docs: make table of contents sticky on desktop (#16506) (Sam Chen)a01315a
docs: fix route of japanese translation site (#16542) (Tanuj Kanti)0515628
docs: use emoji instead of svg for deprecated rule (#16536) (Bryan Mishkin)68f1288
docs: set default layouts (#16484) (Percy Ma)776827a
docs: init config about specifying shared configs (#16483) (Percy Ma)5c39425
docs: fix broken link to plugins (#16520) (Ádám T. Nagy)c97c789
docs: Add missing no-new-native-nonconstructor docs code fence (#16503) (Brandon Mills)Chores
e94a4a9
chore: Add tests to verify #16038 is fixed (#16538) (Nicholas C. Zakas)e13f194
chore: stricter validation ofmeta.docs.description
in core rules (#16529) (Milos Djermanovic)72dbfbc
chore: usepkg
parameter ingetNpmPackageVersion
(#16525) (webxmsj)v8.27.0
Compare Source
Features
f14587c
feat: newno-new-native-nonconstructor
rule (#16368) (Sosuke Suzuki)978799b
feat: add new ruleno-empty-static-block
(#16325) (Sosuke Suzuki)69216ee
feat: no-empty suggest to add comment in empty BlockStatement (#16470) (Nitin Kumar)319f0a5
feat: usecontext.languageOptions.ecmaVersion
in core rules (#16458) (Milos Djermanovic)Bug Fixes
c3ce521
fix: Ensure unmatched glob patterns throw an error (#16462) (Nicholas C. Zakas)886a038
fix: handle files with unspecified path ingetRulesMetaForResults
(#16437) (Francesco Trotta)Documentation
ce93b42
docs: Stylelint property-no-unknown (#16497) (Nick Schonning)d2cecb4
docs: Stylelint declaration-block-no-shorthand-property-overrides (#16498) (Nick Schonning)0a92805
docs: stylelint color-hex-case (#16496) (Nick Schonning)74a5af4
docs: fix stylelint error (#16491) (Milos Djermanovic)324db1a
docs: explicit stylelint color related rules (#16465) (Nick Schonning)94dc4f1
docs: use Stylelint for HTML files (#16468) (Nick Schonning)cc6128d
docs: enable stylelint declaration-block-no-duplicate-properties (#16466) (Nick Schonning)d03a8bf
docs: Add heading to justification explanation (#16430) (Maritaria)8a15968
docs: add Stylelint configuration and cleanup (#16379) (Nick Schonning)9b0a469
docs: note commit messages don't support scope (#16435) (Andy Edwards)1581405
docs: improve context.getScope() docs (#16417) (Ben Perlmutter)b797149
docs: update formatters template (#16454) (Milos Djermanovic)5ac4de9
docs: fix link to formatters on the Core Concepts page (#16455) (Vladislav)33313ef
docs: core-concepts: fix link to semi rule (#16453) (coderaiser)v8.26.0
Compare Source
Features
4715787
feat: checkObject.create()
in getter-return (#16420) (Yuki Hirasawa)28d1902
feat:no-implicit-globals
supportsexported
block comment (#16343) (Sosuke Suzuki)e940be7
feat: Use ESLINT_USE_FLAT_CONFIG environment variable for flat config (#16356) (Tomer Aberbach)dd0c58f
feat: Swap out Globby for custom globbing solution. (#16369) (Nicholas C. Zakas)Bug Fixes
df77409
fix: usebaseConfig
constructor option in FlatESLint (#16432) (Milos Djermanovic)33668ee
fix: Ensure that glob patterns are matched correctly. (#16449) (Nicholas C. Zakas)740b208
fix: ignore messages without aruleId
ingetRulesMetaForResults
(#16409) (Francesco Trotta)8f9759e
fix:--ignore-pattern
in flat config mode should be relative tocwd
(#16425) (Milos Djermanovic)325ad37
fix: makegetRulesMetaForResults
return a plain object in trivial case (#16438) (Francesco Trotta)a2810bc
fix: Ensure that directories can be unignored. (#16436) (Nicholas C. Zakas)35916ad
fix: Ensure unignore and reignore work correctly in flat config. (#16422) (Nicholas C. Zakas)Documentation
651649b
docs: Core concepts page (#16399) (Ben Perlmutter)631cf72
docs: note --ignore-path not supported with flat config (#16434) (Andy Edwards)1692840
docs: fix syntax in examples for new config files (#16427) (Milos Djermanovic)d336cfc
docs: Document extending plugin with new config (#16394) (Ben Perlmutter)Chores
e917a9a
ci: add node v19 (#16443) (Koichi ITO)4b70b91
chore: Add VS Code issues link (#16423) (Nicholas C. Zakas)232d291
chore: suppress a Node.js deprecation warning (#16398) (Koichi ITO)v8.25.0
Compare Source
Features
173e820
feat: Pass --max-warnings value to formatters (#16348) (Brandon Mills)6964cb1
feat: remove support for ignore files in FlatESLint (#16355) (Milos Djermanovic)1cc4b3a
feat:id-length
counts graphemes instead of code units (#16321) (Sosuke Suzuki)Documentation
90c6028
docs: Conflicting fixes (#16366) (Ben Perlmutter)5a3fe70
docs: Add VS to integrations page (#16381) (Maria José Solano)49bd1e5
docs: remove unused link definitions (#16376) (Nick Schonning)3bd380d
docs: typo cleanups for docs (#16374) (Nick Schonning)b3a0837
docs: remove duplicate words (#16378) (Nick Schonning)a682562
docs: addBigInt
tonew-cap
docs (#16362) (Sosuke Suzuki)f6d57fb
docs: Update docs README (#16352) (Ben Perlmutter)7214347
docs: fix logical-assignment-operators option typo (#16346) (Jonathan Wilsson)Chores
1f78594
chore: upgrade @eslint/eslintrc@1.3.3 (#16397) (Milos Djermanovic)8476a9b
chore: Remove CODEOWNERS (#16375) (Nick Schonning)720ff75
chore: use "ci" for Dependabot commit message (#16377) (Nick Schonning)42f5479
chore: bump actions/stale from 5 to 6 (#16350) (dependabot[bot])e5e9e27
chore: removejsdoc
dev dependency (#16344) (Milos Djermanovic)v8.24.0
Compare Source
Features
1729f9e
feat: account forsourceType: "commonjs"
in the strict rule (#16308) (Milos Djermanovic)b0d72c9
feat: add rule logical-assignment-operators (#16102) (fnx)f02bcd9
feat:array-callback-return
supportfindLast
andfindLastIndex
(#16314) (Sosuke Suzuki)Documentation
2c152ff
docs: note false positiveObject.getOwnPropertyNames
in prefer-reflect (#16317) (AnnAngela)bf7bd88
docs: fix warn severity description for new config files (#16324) (Nitin Kumar)8cc0bbe
docs: use more clean link syntax (#16309) (Percy Ma)6ba269e
docs: fix typo (#16288) (jjangga0214)Chores
131e646
chore: Upgrade @humanwhocodes/config-array for perf (#16339) (Nicholas C. Zakas)504fe59
perf: switch from object spread toObject.assign
when merging globals (#16311) (Milos Djermanovic)v8.23.1
Compare Source
Bug Fixes
b719893
fix: Upgrade eslintrc to stop redefining plugins (#16297) (Brandon Mills)734b54e
fix: improve autofix for theprefer-const
rule (#16292) (Nitin Kumar)6a923ff
fix: Ensure that glob patterns are normalized (#16287) (Nicholas C. Zakas)c6900f8
fix: Ensure globbing doesn't include subdirectories (#16272) (Nicholas C. Zakas)Documentation
16cba3f
docs: fix mobile double tap issue (#16293) (Sam Chen)e098b5f
docs: keyboard control to search results (#16222) (Shanmughapriyan S)1b5b2a7
docs: add Consolas font and prioritize resource loading (#16225) (Amaresh S M)1ae8236
docs: copy & use main package version in docs on release (#16252) (Jugal Thakkar)279f0af
docs: Improve id-denylist documentation (#16223) (Mert Ciflikli)Chores
38e8171
perf: migrate rbTree to js-sdsl (#16267) (Zilong Yao)1c388fb
chore: switch nyc to c8 (#16263) (唯然)67db10c
chore: enable linting.eleventy.js
again (#16274) (Milos Djermanovic)42bfbd7
chore: fixnpm run perf
crashes (#16258) (唯然)v8.23.0
Compare Source
Features
3e5839e
feat: Enable eslint.config.js lookup from CLI (#16235) (Nicholas C. Zakas)30b1a2d
feat: addallowEmptyCase
option to no-fallthrough rule (#15887) (Amaresh S M)43f03aa
feat: no-warning-comments support comments with decoration (#16120) (Lachlan Hunt)Documentation
b1918da
docs: package.json conventions (#16206) (Patrick McElhaney)0e03c33
docs: remove word immediately (#16217) (Strek)c6790db
docs: add anchor link for "migrating from jscs" (#16207) (Percy Ma)7137344
docs: auto-generation edit link (#16213) (Percy Ma)Chores
2e004ab
chore: upgrade @eslint/eslintrc@1.3.1 (#16249) (Milos Djermanovic)d35fbbe
chore: Upgrade to [email protected] (#16243) (Milos Djermanovic)ed26229
test: add no-extra-parens tests with rest properties (#16236) (Milos Djermanovic)deaf69f
chore: fix off-by-onemin-width: 1023px
media queries (#15974) (Milos Djermanovic)63dec9f
refactor: simplifyparseListConfig
(#16241) (Milos Djermanovic)v8.22.0
Compare Source
Features
2b97607
feat: Implement caching for FlatESLint (#16190) (Nicholas C. Zakas)fd5d3d3
](https://togithub.com/eslint/eslint/commit/fd5d3d37Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.