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:
6.1.0
->8.28.0
Release Notes
eslint/eslint
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
feat: addmethodsIgnorePattern
option to object-shorthand rule (#16185) (Milos Djermanovic)Documentation
9f5a752
docs: optimize image assets (#16170) (Sam Chen)61b2948
docs: add svgo command to pre commit hook (#16178) (Amaresh S M)784096d
docs: improve search result UI (#16187) (Sam Chen)d0f4cb4
docs: use shorthand property name in example (#16180) (Kevin Elliott)Chores
10a6e0e
chore: remove deploy workflow for playground (#16186) (Milos Djermanovic)v8.21.0
Compare Source
Features
7b43ea1
feat: Implement FlatESLint (#16149) (Nicholas C. Zakas)92bf49a
feat: improve the key width calculation inkey-spacing
rule (#16154) (Nitin Kumar)c461542
feat: add newallowLineSeparatedGroups
option to thesort-keys
rule (#16138) (Nitin Kumar)1cdcbca
feat: add deprecation warnings for legacy API inRuleTester
(#16063) (Nitin Kumar)Bug Fixes
0396775
fix: lines-around-comment applyallowBlockStart
for switch statements (#16153) (Nitin Kumar)Documentation
2aadc93
docs: add anchors to headings inside docs content (#16134) (Strek)Chores
8892511
chore: Upgrade to Espree 9.3.3 (#16173) (Brandon Mills)1233bee
chore: switch to eslint-plugin-node's maintained fork (#16150) (唯然)97b95c0
chore: upgrade puppeteer v13 (#16151) (唯然)v8.20.0
Compare Source
Features
ca83178
feat: catch preprocess errors (#16105) (JounQin)Bug Fixes
30be0ed
fix: no-warning-comments rule escapes special RegEx characters in terms (#16090) (Lachlan Hunt)bfe5e88
fix: ignore spacing before]
and}
in comma-spacing (#16113) (Milos Djermanovic)Documentation
845c4f4
docs: Add website team details (#16115) (Nicholas C. Zakas)5a0dfdb
docs: Link to blog post in no-constant-binary-expression (#16112) (Jordan Eldredge)bc692a9
docs: remove install command (#16084) (Strek)49ca3f0
docs: don't show toc when content not found (#16095) (Amaresh S M)ba19e3f
docs: enhance 404 page UI (#16097) (Amaresh S M)a75d3b4
docs: remove unused meta.docs.category field in working-with-rules page (#16109) (Brandon Scott)cdc0206
docs: add formatters page edit link (#16094) (Amaresh S M)4d1ed22
docs: preselect default theme (#16098) (Strek)4b79612
docs: add missing correct/incorrect containers (#16087) (Milos Djermanovic)09f6acb
docs: fix UI bug on rules index and details pages (#16082) (Deepshika S)f5db264
docs: remove remaining duplicate rule descriptions (#16093) (Milos Djermanovic)32a6b2a
docs: Add scroll behaviour smooth (#16056) (Amaresh S M)Chores
bbf8df4
chore: Mark autogenerated release blog post as draft (#16130) (Nicholas C. Zakas)eee4306
chore: update internal lint dependencies (#16088) (Bryan Mishkin)9615a42
chore: update formatter examples template to avoid markdown lint error (#16085) (Milos Djermanovic)62541ed
chore: fix markdown linting error (#16083) (唯然)v8.19.0
Compare Source
Features
7023628
feat: add importNames support for patterns in no-restricted-imports (#16059) (Brandon Scott)472c368
feat: fix handling of blocklesswith
statements in indent rule (#16068) (Milos Djermanovic)Bug Fixes
fc81848
fix: throw helpful exception when rule has wrong return type (#16075) (Bryan Mishkin)Documentation
3ae0574
docs: Remove duplicate rule descriptions (#16052) (Amaresh S M)f50cf43
docs: Add base href to each page to fix relative URLs (#16046) (Nicholas C. Zakas)ae4b449
docs: make logo link clickable on small width screens (#16058) (Milos Djermanovic)280f898
docs: use only fenced code blocks (#16044) (Milos Djermanovic)f5d63b9
docs: add listener only if element exists (#16045) (Amaresh S M)8b639cc
docs: add missing migrating-to-8.0.0 in the user guide (#16048) (唯然)b8e68c1
docs: Update release process (#16036) (Nicholas C. Zakas)6d0cb11
docs: remove table of contents from markdown text (#15999) (Nitin Kumar)Chores
e884933
chore: usegithub-slugger
for markdown anchors (#16067) (Strek)02e9cb0
chore: revamp carbon ad style (#16078) (Amaresh S M)b6aee95
chore: remove unwanted comments from rules markdown (#16054) (Strek)6840940
chore: correctly use .markdownlintignore in Makefile (#16060) (Bryan Mishkin)48904fb
chore: add missing images (#16017) (Amaresh S M)910f741
chore: add architecture to nav (#16039) (Strek)9bb24c1
chore: add correct incorrect in all rules doc (#16021) (Deepshika S)5a96af8
chore: prepare versions data file (#16035) (Nicholas C. Zakas)50afe6f
chore: Included githubactions in the dependabot config (#15985) (Naveen)473411e
chore: add deploy workflow for playground (#16034) (Milos Djermanovic)a30b66c
chore: fix print style (#16025) (Amaresh S M)f4dad59
chore: add noindex meta tag (#16016) (Milos Djermanovic)db387a8
chore: fix sitemap (#16026) (Milos Djermanovic)285fbc5
chore: remove TOC from printable (#16020) (Strek)8e84c21
chore: remove ligatures from fonts (#16019) (Strek)v8.18.0
Compare Source
Features
a6273b8
feat: account for rule creation time in performance reports (#15982) (Nitin Kumar)Bug Fixes
f364d47
fix: Make no-unused-vars treat for..of loops same as for..in loops (#15868) (Alex Bass)Documentation
4871047
docs: Update analytics, canonical URL, ads (#15996) (Nicholas C. Zakas)cddad14
docs: Add correct/incorrect containers (#15998) (Nicholas C. Zakas)b04bc6f
docs: Add rules meta info to rule pages (#15902) (Nicholas C. Zakas)1324f10
docs: unify the wording referring to optional exception (#15893) (Abdelrahman Elkady)ad54d02
docs: add missing trailing slash to some internal links (#15991) (Milos Djermanovic)df7768e
docs: Switch to version-relative URLs (#15978) (Nicholas C. Zakas)21d6479
docs: change some absolute links to relative (#15970) (Milos Djermanovic)f31216a
docs: Update README team and sponsors (ESLint Jenkins)Build Related
ed49f15
build: remove unwanted parallel and image-min for dev server (#15986) (Strek)Chores
f6e2e63
chore: fix 'replaced by' rule list (#16007) (Milos Djermanovic)d94dc84
chore: remove unused deprecation warnings (#15994) (Francesco Trotta)cdcf11e
chore: fix versions link (#15995) (Milos Djermanovic)d2a8715
chore: add trailing slash topathPrefix
(#15993) (Milos Djermanovic)58a1bf0
chore: tweak URL rewriting for local previews (#15992) (Milos Djermanovic)80404d2
chore: remove docs deploy workflow (#15984) (Nicholas C. Zakas)71bc750
chore: Set permissions for GitHub actions (#15971) (Naveen)90ff647
chore: avoid generating subdirectories for each page on new docs site (#15967) (Milos Djermanovic)v8.17.0
Compare Source
Features
55319e1
feat: fix indent bug with semicolon-first style (#15951) (Milos Djermanovic)f6d7920
feat: addallowNamedExports
option to no-use-before-define (#15953) (Milos Djermanovic)Bug Fixes
54c0953
fix: cleanup typos (#15939) (Nick Schonning)845a7af
fix: typo ocatal -> octal (#15940) (Nick Schonning)Documentation
b915018
docs: Update website UI to latest (#15944) (Nicholas C. Zakas)f0bb609
docs: Update Exponentiation operator MDN link (#15960) (Pranjal Jain)baa0153
docs: Use correct past tense "left" instead of "leaved" (#15950) (Frederik Braun)1351a9b
docs: Add Resources section to rule pages (#15901) (Nicholas C. Zakas)68cf0fb
docs: cleanup typos (#15936) (Nick Schonning)13b62ae
docs: use-dart-sass instead of node-sass (#15912) (Deepshika S)c81c5d6
docs: add social media links (#15920) (Deepshika S)0d6a50b
docs: fix openjs link (#15917) (Amaresh S M)54910f5
docs: display version in mobile view (#15909) (Amaresh S M)Chores
da694b9
chore: avoid theme flashes (#15927) (Strek)f836743
chore: Use build hook for docs deploy (#15945) (Nicholas C. Zakas)ce035e5
test: cleanup typos (#15937) (Nick Schonning)10249ad
chore: use addEventListener instead of addListener (#15923) (Amaresh S M)5f5c1fb
chore: lint eleventy config file (#15904) (Milos Djermanovic)8513d37
chore: update Rule typedefs (#15915) (Milos Djermanovic)55534f1
test: ensure no-restricted-imports works with NodeJS imports (#15907) (Nick Mazuk)v8.16.0
Compare Source
Features
cab0c22
feat: add Unicode flag suggestion in no-misleading-character-class (#15867) (Milos Djermanovic)38ae956
feat: check Unicode code point escapes in no-control-regex (#15862) (Milos Djermanovic)ee69cd3
feat: Update global variables (#15871) (Sébastien Règne)Bug Fixes
3f09aab
fix: function-paren-newline crash on "new new Foo();" (#15850) (coderaiser)Documentation
050d5f4
docs: Static further reading links (#15890) (Nicholas C. Zakas)36287c0
docs: fix absolute paths in related rules shortcode to work from /docs (#15892) (Milos Djermanovic)90b6990
docs: fix absolute links in rule macro to work from /docs (#15891) (Milos Djermanovic)f437249
docs: Adjust docs site path prefix (#15889) (Nicholas C. Zakas)6e16025
docs: update 'Related Rules' and 'Further Reading' in remaining rules (#15884) (Milos Djermanovic)1d39f69
docs: remove confusing examples for no-mixed-operators (#15875) (Milos Djermanovic)3071d76
docs: Fix some grammar issues (#15837) (byodian)Chores
1768d0d
chore: upgrade @eslint/eslintrc@1.3.0 (#15903) (Milos Djermanovic)c686e4c
chore: Add deploy workflow for docs site (#15894) (Nicholas C. Zakas)c7894cd
chore: enable some rules from eslint-plugin-unicorn internally (#15878) (Bryan Mishkin)ea65cb5
chore: upgrade eslint-plugin-eslint-plugin@^4.2.0 (#15882) (唯然)cc29c69
chore: Upgrade official GitHub actions to latest versions (#15880) (Darius Dzien)5891c75
chore: Refactor rule docs format (#15869) (Nicholas C. Zakas)v8.15.0
Compare Source
Features
ab37d3b
feat: addenforceInClassFields
option to no-underscore-dangle (#15818) (Roberto Cestari)Bug Fixes
8bf9440
fix: "use strict" should not trigger strict mode in ES3 (#15846) (Milos Djermanovic)Documentation
28116cc
docs: update AST node names link in no-restricted-syntax (#15843) (Milos Djermanovic)272965f
docs: fix h1 heading on formatters page (#15834) (Milos Djermanovic)a798166
docs: update example for running individual rule tests (#15833) (Milos Djermanovic)57e732b
docs: markSourceCode#getJSDocComment
deprecated in working-with-rules (#15829) (Milos Djermanovic)9a90abf
docs: update docs directory in working-with-rules (#15830) (Milos Djermanovic)810adda
docs: add more examples for prefer-object-spread (#15831) (coderaiser)06b1edb
docs: clarify no-control-regex rule ([#Configuration
📅 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.