This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
chore(deps): update dependency eslint to v8 #258
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.8.0
->8.46.0
Release Notes
eslint/eslint (eslint)
v8.46.0
Compare Source
Features
8a93438
feat:require-unicode-regexp
supportv
flag (#17402) (SUZUKI Sosuke)1a2f966
feat:no-useless-escape
supportv
flag (#17420) (Yosuke Ota)ee68d1d
feat:no-empty-character-class
supportv
flag (#17419) (Milos Djermanovic)853d32b
feat: deprecate no-return-await (#17417) (Carlos Lopez)d4f02e4
feat:no-control-regex
supportv
flag (#17405) (Yosuke Ota)2a35f3e
feat:prefer-named-capture-group
supportv
flag (#17409) (Yosuke Ota)8ca8b50
feat: Better error message for flat config plugins (#17399) (Nicholas C. Zakas)509f753
feat:no-misleading-character-class
supportv
flag (#17406) (Yosuke Ota)3caf514
feat:no-regex-spaces
supportv
flag (#17407) (Yosuke Ota)b7fad2b
feat:prefer-regex-literals
supportv
flag (#17410) (Yosuke Ota)a6a3ad4
feat:no-useless-backreference
supportv
flag (#17408) (Yosuke Ota)94954a7
feat:no-invalid-regexp
supportv
flag (#17404) (Yosuke Ota)1af6eac
feat: adds option for allowing empty object patterns as parameter (#17365) (Tanuj Kanti)cf03104
feat: Improve config error messages (#17385) (Nicholas C. Zakas)Bug Fixes
9803c7c
fix: FlatESLint#getRulesMetaForResults shouldn't throw on unknown rules (#17393) (Milos Djermanovic)42faa17
fix: Update no-loop-func to not overlap with no-undef (#17358) (Matt Wilkinson)Documentation
4d474e3
docs: update with TypeScript info (#17423) (James)091f44e
docs: File extension named processor deprecation (#17362) (Matt Wilkinson)9254a6c
docs: Update README (GitHub Actions Bot)6d6dc51
docs: fix overlapping ofopen in playground
button (#17403) (Tanuj Kanti)7fc3a2c
docs: Add private class features info to no-underscore-dangle (#17386) (Matt Wilkinson)da73e58
docs: Migratingeslint-env
configuration comments (#17390) (Francesco Trotta)80dffed
docs: fix Ignoring Files section in config migration guide (#17392) (Milos Djermanovic)8a9abb7
docs: Update README (GitHub Actions Bot)7e9be4b
docs: Update README (GitHub Actions Bot)0b0bbe0
docs: Update README (GitHub Actions Bot)Chores
d1eb7e4
chore: Update ecosystem dependencies (#17427) (Nicholas C. Zakas)fab9e97
chore: package.json update for eslint-config-eslint release (ESLint Jenkins)6246711
chore: package.json update for @eslint/js release (ESLint Jenkins)0aa0bc3
chore: Add PRs to triage project (#17421) (Nicholas C. Zakas)v8.45.0
Compare Source
Features
cdd063c
feat: Expose LegacyESLint in unsupported API (#17341) (Nicholas C. Zakas)d34abe5
feat: fix indent rule for else-if (#17318) (Milos Djermanovic)Bug Fixes
b79b6fb
fix: Fix suggestion message inno-useless-escape
(#17339) (Francesco Trotta)c667055
fix: provide uniquefix
andfix.range
objects in lint messages (#17332) (Milos Djermanovic)Documentation
89f3225
docs: add playground links to correct and incorrect code blocks (#17306) (Josh Goldberg ✨)f8892b5
docs: Expand rule option schema docs (#17198) (Matt Wilkinson)8bcbf11
docs: Config Migration Guide (#17230) (Ben Perlmutter)bb30908
docs: Update README (GitHub Actions Bot)84d243b
docs: Update README (GitHub Actions Bot)b762632
docs: Update README (GitHub Actions Bot)138c096
docs: add more prefer-destructuring examples with array destructuring (#17330) (Milos Djermanovic)1fc50a8
docs:max-len
rulecode
andtabWidth
as positional arguments (#17331) (Jesús Leganés-Combarro)Chores
68f63d7
chore: package.json update for @eslint/js release (ESLint Jenkins)5ca9b4d
chore: update eslint-config-eslint exports (#17336) (Milos Djermanovic)7bf2e86
chore: remove unused dependencies (#17352) (Percy Ma)c6f8cd0
chore: RemovedefaultIgnores
from FlatESLint private members (#17349) (Francesco Trotta)0052374
chore: move jsdoc settings to eslint-config-eslint (#17338) (唯然)v8.44.0
Compare Source
Features
1766771
feat: addes2023
andes2024
environments (#17328) (Milos Djermanovic)4c50400
feat: addecmaVersion: 2024
, regexpv
flag parsing (#17324) (Milos Djermanovic)4d411e4
feat: add ternaryOperandBinaryExpressions option to no-extra-parens rule (#17270) (Percy Ma)c8b1f4d
feat: MoveparserServices
toSourceCode
(#17311) (Milos Djermanovic)ef6e24e
feat: treat unknown nodes as having the lowest precedence (#17302) (Brad Zacher)1866e1d
feat: allow flat config files to export a Promise (#17301) (Milos Djermanovic)Bug Fixes
a36bcb6
fix: no-unused-vars false positive with logical assignment operators (#17320) (Gweesin Chan)7620b89
fix: Removeno-unused-labels
autofix before potential directives (#17314) (Francesco Trotta)391ed38
fix: Removeno-extra-semi
autofix before potential directives (#17297) (Francesco Trotta)Documentation
526e911
docs: resubmit pr 17115 doc changes (#17291) (唯然)e1314bf
docs: Integration section and tutorial (#17132) (Ben Perlmutter)19a8c5d
docs: Update README (GitHub Actions Bot)Chores
49e46ed
chore: upgrade @eslint/js@8.44.0 (#17329) (Milos Djermanovic)a1cb642
chore: package.json update for @eslint/js release (ESLint Jenkins)840a264
test: More test cases for no-case-declarations (#17315) (Elian Cordoba)e6e74f9
chore: package.json update for eslint-config-eslint release (ESLint Jenkins)eb3d794
chore: upgrade [email protected] (#17323) (Ziyad El Abid)cf88439
chore: upgrade [email protected] (#17319) (Milos Djermanovic)9718a97
refactor: remove unnecessary code inflat-eslint.js
(#17308) (Milos Djermanovic)f82e56e
perf: various performance improvements (#17135) (moonlightaria)da81e66
chore: update eslint-plugin-jsdoc to 46.2.5 (#17245) (唯然)b991640
chore: switch eslint-config-eslint to the flat format (#17247) (唯然)v8.43.0
Compare Source
Features
14581ff
feat: directive prologue detection and autofix condition inquotes
(#17284) (Francesco Trotta)e50fac3
feat: add declaration loc to message in block-scoped-var (#17252) (Milos Djermanovic)1b7faf0
feat: addskipJSXText
option tono-irregular-whitespace
rule (#17182) (Azat S)Bug Fixes
5338b56
fix: normalizecwd
passed toESLint
/FlatESLint
constructor (#17277) (Milos Djermanovic)54383e6
fix: Removeno-extra-parens
autofix for potential directives (#17022) (Francesco Trotta)Documentation
8b855ea
docs: resubmit pr17061 doc changes (#17292) (唯然)372722e
docs: resubmit pr17012 doc changes (#17293) (唯然)67e7af3
docs: resubmit custom-rules doc changes (#17294) (唯然)9e3d77c
docs: Resubmit Fix formatting in Custom Rules docs (#17281) (Milos Djermanovic)503647a
docs: Resubmit markVariableAsUsed docs (#17280) (Nicholas C. Zakas)e0cf0d8
docs: Custom rule & plugin tutorial (#17024) (Ben Perlmutter)8e51ea9
docs: resubmitno-new
rule documentation (#17264) (Nitin Kumar)1b217f8
docs: resubmitCustom Processors
documentation (#17265) (Nitin Kumar)428fc76
docs: resubmitCreate Plugins
documentation (#17268) (Nitin Kumar)bdca88c
docs: resubmitConfiguration Files
documentation (#17267) (Nitin Kumar)f5c01f2
docs: resubmitManage Issues
documentation (#17266) (Nitin Kumar)b199295
docs: Resubmit custom rules update docs (#17273) (Ben Perlmutter)0e9980c
docs: add newomitLastInOneLineClassBody
option to thesemi
rule (#17263) (Nitin Kumar)cb2560f
docs: Resubmit getScope/getDeclaredVariables docs (#17262) (Nicholas C. Zakas)85d2b30
docs: explain how to include predefined globals (#17261) (Marcus Wyatt)de4d3c1
docs: update flat config default ignore patterns (#17258) (Milos Djermanovic)3912f3a
docs: Improveignores
documentation (#17239) (Francesco Trotta)35e11d3
docs: fix typos and missing info (#17257) (Ed Lucas)0bc257c
docs: Clarifyno-div-regex
rule docs (#17051) (#17255) (Francesco Trotta)788d836
docs: add references to MIT License (#17248) (Milos Djermanovic)58aab6b
docs: Update README (GitHub Actions Bot)3ef5814
docs: Revert all changes after the license change (#17227) (Milos Djermanovic)03fc4aa
docs: Update README (GitHub Actions Bot)Chores
78350f6
chore: upgrade @eslint/js@8.43.0 (#17295) (Milos Djermanovic)62bf759
chore: package.json update for @eslint/js release (ESLint Jenkins)e0a2448
chore: docs package.license ISC => MIT (#17254) (唯然)6a0196c
chore: use eslint-plugin-eslint-plugin flat configs (#17204) (Milos Djermanovic)v8.42.0
Compare Source
Features
b8448ff
feat: correct no-useless-return behaviour in try statements (#16996) (Nitin Kumar)Bug Fixes
a589636
fix: Config withignores
and withoutfiles
should not always apply (#17181) (Milos Djermanovic)c4fad17
fix: Correct ignore message for "node_modules" subfolders (#17217) (Francesco Trotta)Documentation
01d7142
docs: Update README (GitHub Actions Bot)e5182b7
docs: Update README (GitHub Actions Bot)Chores
6ca5b7c
chore: upgrade @eslint/js@8.42.0 (#17236) (Milos Djermanovic)67fc5e7
chore: package.json update for @eslint/js release (ESLint Jenkins)0892412
refactor: removeIdentifier
listener in no-irregular-whitespace (#17235) (Milos Djermanovic)f67d298
test: AddFlatESLint
tests with missing config files (#17164) (Milos Djermanovic)5b68d51
chore: Fixfixedsize
attribute in code path analysis DOT debug output (#17202) (Milos Djermanovic)37432f2
chore: update descriptions in key-spacing tests (#17195) (Milos Djermanovic)v8.41.0
Compare Source
Features
880a431
feat: change default ignore pattern to**/node_modules/
in flat config (#17184) (Milos Djermanovic)8bf5505
feat: exposeshouldUseFlatConfig
(#17169) (Connor Prussin)Bug Fixes
4f5440d
fix: incorrect warning message for ignored dotfiles (#17196) (Milos Djermanovic)94da96c
fix: unifyLintMessage
type (#17076) (Brandon Mills)0c415cd
fix: validateignorePatterns
constructor option inFlatESLint
class (#17139) (Milos Djermanovic)9682d66
fix: switchgrapheme-splitter
tographemer
(#17160) (fisker Cheung)Documentation
7709b14
docs: Update README (GitHub Actions Bot)7f183e0
docs: Update triage process description (#17157) (Nicholas C. Zakas)b68346b
docs: fix license to reflect relicensing of jshint (#17165) (Stefan Bischof)Chores
f43216a
chore: upgrade @eslint/js@8.41.0 (#17200) (Milos Djermanovic)95c3007
chore: package.json update for @eslint/js release (ESLint Jenkins)ddc5291
chore: don't use deprecatedcontext
methods inast-utils
tests (#17194) (Milos Djermanovic)b1516db
chore: Fix return type offindFlatConfigFile
(#17161) (Milos Djermanovic)918b0fd
perf: Store indent descriptors in a plain array (#17148) (Francesco Trotta)4caa344
refactor: locateConfigFileToUse returns an Error object (#17159) (唯然)v8.40.0
Compare Source
Features
5db7808
feat: improve flat config errors for invalid rule options and severities (#17140) (Josh Goldberg ✨)f5574dc
feat: Add findConfigFile() method to FlatESLint (#17142) (Nicholas C. Zakas)e52b98b
feat: addsourceCode
property to the rule context (#17107) (Nitin Kumar)1468f5b
feat: addphysicalFilename
property to the rule context (#17111) (Nitin Kumar)0df4d4f
feat: addcwd
to rule context (#17106) (Nitin Kumar)52018f2
feat: addfilename
property to the rule context (#17108) (Nitin Kumar)559ff4e
feat: add newomitLastInOneLineClassBody
option to thesemi
rule (#17105) (Nitin Kumar)Bug Fixes
f076e54
fix: Ensure FlatESLint#findConfigFile() doesn't throw. (#17151) (Nicholas C. Zakas)Documentation
e980bf3
docs: Update README (GitHub Actions Bot)e92a6fc
docs: Update README (GitHub Actions Bot)af5fe64
docs: Fix custom rule schema docs (#17115) (Adam Jones)4a352a9
docs: explain how to include predefined globals (#17114) (Marcus Wyatt)5ea15d9
docs: add mastodon link in readme (#17110) (唯然)Chores
4053004
chore: upgrade @eslint/js@8.40.0 (#17156) (Milos Djermanovic)50fed1d
chore: package.json update for @eslint/js release (ESLint Jenkins)4c7a170
chore: upgrade @eslint/eslintrc@2.0.3 (#17155) (Milos Djermanovic)e80b7cc
chore: upgrade [email protected] (#17154) (Milos Djermanovic)ce3ac91
chore: upgrade [email protected] (#17153) (Milos Djermanovic)9094d79
chore: addlatest/
tometa.docs.url
in all core rules (#17136) (Milos Djermanovic)d85efad
perf: don't usegrapheme-splitter
on ASCII strings in key-spacing rule (#17122) (Milos Djermanovic)v8.39.0
Compare Source
Features
3f7af9f
feat: ImplementSourceCode#markVariableAsUsed()
(#17086) (Nicholas C. Zakas)Documentation
6987dc5
docs: Fix formatting in Custom Rules docs (#17097) (Milos Djermanovic)4ee92e5
docs: Update README (GitHub Actions Bot)d8e9887
docs: Custom Rules cleanup/expansion (#16906) (Ben Perlmutter)1fea279
docs: Clarify how to add to tsc agenda (#17084) (Nicholas C. Zakas)970ef1c
docs: Update triage board location (Nicholas C. Zakas)6d8bffd
docs: Update README (GitHub Actions Bot)Chores
60a6f26
chore: upgrade @eslint/js@8.39.0 (#17102) (Milos Djermanovic)d5ba5c0
chore: package.json update for @eslint/js release (ESLint Jenkins)f57eff2
ci: run tests on Node.js v20 (#17093) (Nitin Kumar)9d1b8fc
perf: Binary search in token storeutils.search
(#17066) (Francesco Trotta)07a4435
chore: Add request for minimal repro to bug report (#17081) (Nicholas C. Zakas)eac4943
refactor: remove unnecessary use ofSourceCode#getAncestors
in rules (#17075) (Milos Djermanovic)0a7b60a
chore: update description ofSourceCode#getDeclaredVariables
(#17072) (Milos Djermanovic)6e2df71
chore: remove unnecessary references to the LICENSE file (#17071) (Milos Djermanovic)v8.38.0
Compare Source
Features
a1d561d
feat: Move getDeclaredVariables and getAncestors to SourceCode (#17059) (Nicholas C. Zakas)Bug Fixes
1c1ece2
fix: do not report onRegExp(...args)
inrequire-unicode-regexp
(#17037) (Francesco Trotta)Documentation
7162d34
docs: Mention new config system is complete (#17068) (Nicholas C. Zakas)0fd6bb2
docs: Update README (GitHub Actions Bot)c83531c
docs: Update/remove external links, eg. point toeslint-community
(#17061) (Pelle Wessman)a3aa6f5
docs: Clarifyno-div-regex
rule docs (#17051) (Francesco Trotta)b0f11cf
docs: Update README (GitHub Actions Bot)da8d52a
docs: Update the second object instance for the "no-new" rule (#17020) (Ahmadou Waly NDIAYE)518130a
docs: switch language based on current path (#16687) (Percy Ma)24206c4
docs: Update README (GitHub Actions Bot)Chores
59ed060
chore: upgrade @eslint/js@8.38.0 (#17069) (Milos Djermanovic)88c0898
chore: package.json update for @eslint/js release (ESLint Jenkins)cf682d2
refactor: simplify new-parens rule schema (#17060) (MHO)0dde022
ci: bump actions/add-to-project from 0.4.1 to 0.5.0 (#17055) (dependabot[bot])v8.37.0
Compare Source
Features
b6ab8b2
feat:require-unicode-regexp
add suggestions (#17007) (Josh Goldberg)10022b1
feat: Copy getScope() to SourceCode (#17004) (Nicholas C. Zakas)1665c02
feat: Use plugin metadata for flat config serialization (#16992) (Nicholas C. Zakas)b3634f6
feat: docs license (#17010) (Samuel Roldan)892e6e5
feat: languageOptions.parser must be an object. (#16985) (Nicholas C. Zakas)Bug Fixes
619f3fd
fix: correctly handlenull
default config inRuleTester
(#17023) (Brad Zacher)1fbf118
fix:getFirstToken
/getLastToken
on comment-only node (#16889) (Francesco Trotta)129e252
fix: Fix typo inlogical-assignment-operators
rule description (#17000) (Francesco Trotta)Documentation
75339df
docs: fix typos and missing info in id-match docs (#17029) (Ed Lucas)ec2d830
docs: Fix typos in thesemi
rule docs (#17012) (Andrii Lundiak)e39f28d
docs: add back to top button (#16979) (Tanuj Kanti)721c717
docs: Custom Processors cleanup and expansion (#16838) (Ben Perlmutter)d049f97
docs: 'How ESLint is Maintained' page (#16961) (Ben Perlmutter)5251a92
docs: Describe guard options for guard-for-in (#16986) (alope107)6157d81
docs: Add example to guard-for-in docs. (#16983) (alope107)fd47998
docs: updateArray.prototype.toSorted
specification link (#16982) (Milos Djermanovic)3e1cf6b
docs: Copy edits on Maintain ESLint docs (#16939) (Ben Perlmutter)Chores
c67f299
chore: upgrade @eslint/js@8.37.0 (#17033) (Milos Djermanovic)ee9ddbd
chore: package.json update for @eslint/js release (ESLint Jenkins)dddb475
chore: upgrade @eslint/eslintrc@2.0.2 (#17032) (Milos Djermanovic)522431e
chore: upgrade [email protected] (#17031) (Milos Djermanovic)f5f9a88
chore: upgrade [email protected] (#17030) (Milos Djermanovic)4dd8d52
ci: bump actions/stale from 7 to 8 (#17026) (dependabot[bot])ad9dd6a
chore: remove duplicate scss, (#17005) (Strek)ada6a3e
ci: unpin Node 19 (#16993) (Milos Djermanovic)c3da975
chore: Remove triage label from template (#16990) (Nicholas C. Zakas)69bc0e2
ci: pin Node 19 to 19.7.0 (#16987) (Milos Djermanovic)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
](https://togithub.com/eslint/eslint/commit/de7e925d03Configuration
📅 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.