chore(deps): update dependency eslint to v8 #399
Closed
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.32.0->^8.8.0Release Notes
eslint/eslint
v8.8.0Compare Source
Features
5d60812feat: implement rfc 2021-suppression-support (#15459) (Yiwei Ding)Documentation
5769cc2docs: fix relative link (#15544) (Nick Schonning)ccbc35fdocs: trimmed rules h1s to just be rule names (#15514) (Josh Goldberg)851f1f1docs: fixed typo in comment (#15531) (Jiapei Liang)7d7af55docs: address upcoming violation of markdownlint rule MD050/strong-style (#15529) (David Anson)v8.7.0Compare Source
Features
19ad061feat: no-restricted-imports support casing (#15439) (gfyoung)564ecdbfeat: Support arbitrary module namespace names in no-restricted-imports (#15491) (Milos Djermanovic)968a02afeat: Support arbitrary module namespace names in no-useless-rename (#15493) (Milos Djermanovic)0d2b9a6feat: moveeslint --initto @eslint/create-config (#15150) (唯然)127f524feat: false negative withpropertyoption inid-match(#15474) (Nitin Kumar)359b2c1feat: Support arbitrary module namespace names in the camelcase rule (#15490) (Milos Djermanovic)3549571feat: Support arbitrary module namespace names in the quotes rule (#15479) (Milos Djermanovic)5563c45feat: Support arbitrary module namespace names in keyword-spacing (#15481) (Milos Djermanovic)fd3683ffeat: Support arbitrary module namespace names in no-restricted-exports (#15478) (Milos Djermanovic)Bug Fixes
a8db9a5fix: no-invalid-this false positive in class field initializer (#15495) (Milos Djermanovic)02d6426fix: Correctly consume RuleTester statics (#15507) (Brad Zacher)db15802fix: Add propertyfatalErrorCountto ignored file results (#15520) (Francesco Trotta)03ac8cffix: Prevent false positives with no-constant-condition (#15486) (Jordan Eldredge)Documentation
f50f849docs: Update CLI docs to prefer local install (#15513) (Nicholas C. Zakas)0469eb1docs: Update shell code fences for new website (#15522) (Olga)Chores
369fb1bchore: Upgrade to [email protected] (#15526) (Brandon Mills)ba6317bci: remove master branch from CI configs (#15501) (Milos Djermanovic)79b6340chore: fixed typo in client-Engine (#15497) (Abhay Gupta)6278281chore: switchnew syntaxissue template to forms (#15480) (Nitin Kumar)v8.6.0Compare Source
Features
6802a54feat: handle logical assignment in no-self-assign (#14152) (Zzzen)3b38018feat: allow to defineeslint-disable-next-linein multiple lines (#15436) (Nitin Kumar)9d6fe5afeat: false negative withonlyDeclarations+propertiesin id-match (#15431) (Nitin Kumar)Documentation
6c4dee2docs: Document homedir is a configuration root (#15469) (Bas Bosman)51c37b1docs: consistency changes (#15404) (Bas Bosman)775d181docs: Mention character classes in no-useless-escape (#15421) (Sebastian Simon)Chores
3a384fcchore: Upgrade espree to 9.3.0 (#15473) (Brandon Mills)1443cc2chore: Update blogpost.md.ejs (#15468) (Nicholas C. Zakas)28e907arefactor: remove unused parameter inlinter.js(#15451) (Milos Djermanovic)eaa08d3test: add tests forallowReservedparser option with flat config (#15450) (Milos Djermanovic)v8.5.0Compare Source
Features
94e77a6feat: Suggestions support forprefer-regex-literals(#15077) (Yash Singh)eafaf52feat: addprefer-object-has-ownrule (#15346) (Nitin Kumar)Bug Fixes
7d832d4fix: improveprefer-templatefixer (#15230) (Nitin Kumar)981fb48fix: do not report global references inid-matchrule (#15420) (Nitin Kumar)f13d4a6fix: improve autofix ofprefer-object-has-own(#15419) (Nitin Kumar)f4559a0fix: add helpful message when test case has non-string code/name (#15425) (Bryan Mishkin)Documentation
314c84cdocs: add an incorrect code example in for-direction (#15434) (Holger Jeromin)3928175docs: add destructuring examples forcomputed-property-spacing(#15423) (Nitin Kumar)a53e59edocs: add more examples forarray-element-newlinerule (#15427) (Nitin Kumar)74cf0a0docs: update CLA info (#15370) (Nitin Kumar)e84195edocs: fix heading level for an option inclass-methods-use-thisrule (#15399) (Takuya Fukuju)Chores
225f211test: add destructuring test cases forcomputed-property-spacing(#15424) (Nitin Kumar)f2c7ba6ci: use node v16 formacOSandwindowsjobs (#15418) (Nitin Kumar)v8.4.1Compare Source
Bug Fixes
234e3d9fix: revert changes to reported locations in max-lines-per-function (#15397) (Milos Djermanovic)Documentation
fa4d483docs: fix typo in example forsort-keysrule (#15393) (Nitin Kumar)v8.4.0Compare Source
Features
5771663feat: addallowReservedparser option (#15387) (Milos Djermanovic)32ac37afeat: Flat config support in Linter (refs #13481) (#15185) (Nicholas C. Zakas)d041f34feat: Treat Class/New Expressions as truthy in no-constant-condition (#15326) (Jordan Eldredge)8f44cf5feat: report only lines that exceed the limit in max-lines-per-function (#15140) (Sneh Khatri)808ad35feat: pass cwd to formatters (refs eslint/rfcs#57) (#13392) (Toru Nagashima)f1b7499feat: support async formatters (#15243) (MO)Bug Fixes
4940cc5fix: mark --rulesdir option as deprecated in CLI docs (#15310) (Kevin Partington)Documentation
54deec5docs: update integrations.md (#15380) (Vlad Sholokhov)fa0423adocs: fix typo in PR template (#15365) (Nitin Kumar)e233920docs: enable a few more markdownlint rules and fix violations (#15368) (Bryan Mishkin)632176ddocs: Dedent needlessly indented example in getter-return docs (#15363) (Jordan Eldredge)4497e88docs: Update release notes blog post template (#15285) (Nicholas C. Zakas)Chores
efede90chore: upgrade @eslint/eslintrc@1.0.5 (#15389) (Milos Djermanovic)0b8c846chore: fix update-readme to avoid multiple consecutive blank lines (#15375) (Milos Djermanovic)94b2a8bchore: Use default Chromium binary in M1 Mac tests (#15371) (Brandon Mills)ba58d94ci: use nodev16for Verify Files (#15364) (Nitin Kumar)1e32ee5chore: add jsdoc type annotation to rules (#15291) (Bryan Mishkin)v8.3.0Compare Source
Features
60b0a29feat: addallowPropertiesoption to require-atomic-updates (#15238) (Milos Djermanovic)79278a1feat: update no-use-before-define for class static blocks (#15312) (Milos Djermanovic)ddd01dcfeat: update no-redeclare for class static blocks (#15313) (Milos Djermanovic)de69cecfeat: update no-inner-declarations for class static blocks (#15290) (Milos Djermanovic)e2fe7effeat: support for private-in syntax (fixes #14811) (#15060) (Yosuke Ota)34bc8d7feat: Update espree and eslint-scope (#15338) (Brandon Mills)b171cd7feat: update max-depth for class static blocks (#15316) (Milos Djermanovic)6487df3feat: update padded-blocks for class static blocks (#15333) (Milos Djermanovic)194f36dfeat: update the complexity rule for class static blocks (#15328) (Milos Djermanovic)3530337feat: update the indent rule for class static blocks (#15324) (Milos Djermanovic)f03cd14feat: update lines-around-comment for class static blocks (#15323) (Milos Djermanovic)5c64747feat: update brace-style for class static blocks (#15322) (Milos Djermanovic)df2f1ccfeat: update max-statements for class static blocks (#15315) (Milos Djermanovic)fd5a0b8feat: update prefer-const for class static blocks (#15325) (Milos Djermanovic)b3669fdfeat: code path analysis for class static blocks (#15282) (Milos Djermanovic)15c1397feat: update eslint-scope for class static blocks (#15321) (Milos Djermanovic)1a1bb4bfeat: update one-var for class static blocks (#15317) (Milos Djermanovic)9b666e0feat: update padding-line-between-statements for class static blocks (#15318) (Milos Djermanovic)d3a267ffeat: update class-methods-use-this for class static blocks (#15298) (Milos Djermanovic)cdaa541feat: update no-lone-blocks for class static blocks (#15295) (Milos Djermanovic)8611538feat: update block-spacing for class static blocks (#15297) (Milos Djermanovic)7b56844feat: update keyword-spacing for class static blocks (#15289) (Milos Djermanovic)ea18711feat: update no-extra-semi for class static blocks (#15287) (Milos Djermanovic)0f0971ffeat: update semi rule for class static blocks (#15286) (Milos Djermanovic)abe740cfeat: add examples for block-scoped-var with class static blocks (#15302) (Milos Djermanovic)0338fd2feat: Normalize ecmaVersion to eslint-scope when using custom parser (#15268) (Yosuke Ota)Bug Fixes
8aa7645fix: update vars-on-top for class static blocks (#15306) (Milos Djermanovic)479a4cbfix: update semi-style for class static blocks (#15309) (Milos Djermanovic)6d1c666fix: update no-invalid-this and no-eval for class static blocks (#15300) (Milos Djermanovic)Documentation
6b85426docs: Expand--debugoption description in the CLI documentation (#15308) (darkred)3ae5258docs: the strict rule does not apply to class static blocks (#15314) (Milos Djermanovic)9309841docs: Remove inconsistent colon in pull request docs (#15303) (Jordan Eldredge)da238ccdocs: remove deprecation note from lines-around-comment (#15293) (Milos Djermanovic)1055f16docs: no-unused-expressions - class static blocks don't have directives (#15283) (Milos Djermanovic)4c55216docs: Add variables option to no-use-before-define (#15276) (Mathias Rasmussen)Chores
edd8d24chore: upgrade eslint-visitor-keys for class static blocks (#15277) (Milos Djermanovic)v8.2.0Compare Source
Features
c9fefd2feat: report class evaluation TDZ errors in no-use-before-define (#15134) (Milos Djermanovic)Documentation
c415c04docs: Use string rule severity in CLI examples (#15253) (Kevin Partington)12b627ddocs: fix typo inworking-with-rules.md(#15233) (Nitin Kumar)a86ffc0docs: fix broken anchor in configuration files (#15223) (Pierre Berger)ee8af5fdocs: Link to unit tests from rule documentation (#15207) (Brandon Mills)1c0ca3cdocs: addciandperftags for commit (#15215) (Nitin Kumar)Build Related
796587abuild: upgrade eslint-release to v3.2.0 to support conventional commits (#15246) (Milos Djermanovic)Chores
cf5b6bechore: update @eslint/eslintrc to avoid different versions ofjs-yaml(#15265) (Milos Djermanovic)4fd7a6cperf: don't prepare a fix for valid code in key-spacing (#15239) (Milos Djermanovic)fda533cchore: updatestrip-ansidependency (#15221) (Nitin Kumar)67949bdci: Remove Node 16 CI prerelease workaround (#14935) (Brandon Mills)v8.1.0Compare Source
446b4b3Docs: Update commit message format docs (#15200) (Nicholas C. Zakas)d9d84a0Fix: keyword-spacing conflict with space-infix-ops on>(fixes #14712) (#15172) (Milos Djermanovic)a1f7ad7Fix: allowbaseConfigto extend preloaded plugin config (fixes #15079) (#15187) (Milos Djermanovic)3d370fbNew: Add no-unused-private-class-members rule (fixes #14859) (#14895) (Tim van der Lippe)e926b17New: Add name to RuleTester (#15179) (Gareth Jones)90a5b6bChore: improve performance of:functionselector (#15181) (Milos Djermanovic)31af1c8Chore: fix counting of files in performance test (#15190) (Milos Djermanovic)1b87fa8Build: add node v17 (#15193) (唯然)0fb3bb2Docs: removeinstanceoffrom keyword-spacing docs (#15180) (Milos Djermanovic)249a040Upgrade:eslint-plugin-eslint-pluginto v4 (#15169) (Bryan Mishkin)35f3254Docs: Describe range in rule docs (fixes #14162) (#15174) (Nicholas C. Zakas)b5049c8Chore: Update stale bot settings (#15173) (Nicholas C. Zakas)2b32f50Docs: Fix typo in README.md (#15168) (Dmitriy Fishman)dd58cd4Chore: migrate master to main (#15062) (Nitesh Seram)ec0f8e0Chore: Add stale issue/PR checker (#15151) (Nicholas C. Zakas)2cfbd4bDocs: Update README team and sponsors (ESLint Jenkins)v8.0.1Compare Source
f9217e5Upgrade: @eslint/eslintrc@1.0.3 for Jest workaround (#15164) (Brandon Mills)c584a63Chore: add ecmaVersion 13 to types.js (#15163) (Milos Djermanovic)ff5fcd4Docs: add 13 as allowed ecma version (fixes #15159) (#15162) (唯然)v8.0.0Compare Source
7d3f7f0Upgrade: unfrozen @eslint/eslintrc (fixes #15036) (#15146) (Brandon Mills)2174a6fFix: require-atomic-updates property assignment message (fixes #15076) (#15109) (Milos Djermanovic)f885fe0Docs: add note and example for extending the range of fix (refs #13706) (#13748) (Milos Djermanovic)3da1509Docs: Add jsdoctypeannotation to sample rule (#15085) (Bryan Mishkin)68a49a9Docs: Update Rollup Integrations (#15142) (xiaohai)d867f81Docs: Remove a dot from curly link (#15128) (Mauro Murru)9f8b919Sponsors: Sync README with website (ESLint Jenkins)4b08f29Sponsors: Sync README with website (ESLint Jenkins)ebc1ba1Sponsors: Sync README with website (ESLint Jenkins)2d654f1Docs: add example .eslintrc.json (#15087) (Nicolas Mattia)16034f0Docs: fix fixable example (#15107) (QiChang Li)07175b88.0.0-rc.0 (ESLint Jenkins)71faa38Build: changelog update for 8.0.0-rc.0 (ESLint Jenkins)67c0074Update: Suggest missing rule in flat config (fixes #14027) (#15074) (Nicholas C. Zakas)cf34e5cUpdate: space-before-blocks ignore after switch colons (fixes #15082) (#15093) (Milos Djermanovic)c9efb5fFix: preserve formatting when rules are removed from disable directives (#15081) (Milos Djermanovic)14a4739Update:no-new-funcrule catching eval case ofMemberExpression(#14860) (Mojtaba Samimi)7f2346bDocs: Update release blog post template (#15094) (Nicholas C. Zakas)fabdf8aChore: Removetarget.allfromMakefile.js(#15088) (Hirotaka Tagawa / wafuwafu13)e3cd141Sponsors: Sync README with website (ESLint Jenkins)05d7140Chore: document target global in Makefile.js (#15084) (Hirotaka Tagawa / wafuwafu13)0a1a850Update: includeruleIdin error logs (fixes #15037) (#15053) (Ari Perkkiö)47be800Chore: test Property > .key with { a = 1 } pattern (fixes #14799) (#15072) (Milos Djermanovic)a744dfaDocs: Update CLA info (#15058) (Brian Warner)9fb0f70Chore: fix bug report template (#15061) (Milos Djermanovic)f87e199Chore: Cleanup issue templates (#15039) (Nicholas C. Zakas)660f0758.0.0-beta.2 (ESLint Jenkins)d148ffdBuild: changelog update for 8.0.0-beta.2 (ESLint Jenkins)9e5c2e8Upgrade: @eslint/eslintrc@1.0.1 (#15047) (Milos Djermanovic)7cf96cfBreaking: Disallow reserved words in ES3 (fixes #15017) (#15046) (Milos Djermanovic)88a3952Update: support class fields in thecomplexityrule (refs #14857) (#14957) (Milos Djermanovic)9bd3d87Fix: semicolon-less style in lines-between-class-members (refs #14857) (#15045) (Milos Djermanovic)6d1ccb6Update: enforceForClassFields in class-methods-use-this (refs #14857) (#15018) (YeonJuan)91e82f5Docs: LintMessage.line and column are possibly undefined (#15032) (Brandon Mills)921ba1eChore: fix failing cli test (#15041) (Milos Djermanovic)dd56631Docs: remove duplicate code path analysis document (#15033) (Milos Djermanovic)143a598Chore: Switch issues to use forms (#15024) (Nicholas C. Zakas)f966fe6Fix: Update semi for class-fields (refs #14857) (#14945) (Nicholas C. Zakas)8c61f5aDocs: add info about non-capturing groups to prefer-named-capture-group (#15009) (Andrzej Wódkiewicz)dd10937Update: added ignoreExpressions option to max-classes-per-file (#15000) (Josh Goldberg)e9764f3Fix: no-undef-init should not apply to class fields (refs #14857) (#14994) (Milos Djermanovic)4338b74Docs: add no-dupe-class-members examples with class fields (refs #14857) (#15005) (Milos Djermanovic)b4232d4Chore: Add test that deprecated rules display a deprecated notice (#14989) (TagawaHirotaka)88b4e3dDocs: Make clear how rule options are overridden (fixes #14962) (#14976) (Jake Ob)4165c7fDocs: Clarify Linter vs ESLint in node.js api docs (fixes #14953) (#14995) (Brian Bartels)80cfb8fDocs: fix typo in migration guide (#14985) (Nitin Kumar)1ddc9558.0.0-beta.1 (ESLint Jenkins)95cc61eBuild: changelog update for 8.0.0-beta.1 (ESLint Jenkins)05ca24cUpdate: Code path analysis for class fields (fixes #14343) (#14886) (Nicholas C. Zakas)db15183Chore: Refactor comments of tests (#14956) (TagawaHirotaka)396a0e3Docs: update ScopeManager with class fields (#14974) (Milos Djermanovic)6663e7aDocs: removedocsscript (fixes #14288) (#14971) (Nitin Kumar)44c6fc8Update: support class fields in func-name-matching (refs #14857) (#14964) (Milos Djermanovic)44f7de5Docs: Update deprecated information (#14961) (TagawaHirotaka)305e14aBreaking: remove meta.docs.category in core rules (fixes #13398) (#14594) (薛定谔的猫)a79c9f3Chore: Enforce jsdoc check-line-alignment never (#14955) (Brett Zamir)a8bcef7Docs: Add 2021 and 2022 to supported ECMAScript versions (#14952) (coderaiser)3409785Fix: camelcase ignoreGlobals shouldn't apply to undef vars (refs #14857) (#14966) (Milos Djermanovic)b301069Docs: fix 'When Not To Use' in prefer-named-capture-group (refs #14959) (#14969) (Milos Djermanovic)2d18db6Chore: add test for mergingparserOptionsin Linter (#14948) (Milos Djermanovic)3d7d5fbUpdate: reporting loc forneveroption ineol-last(refs #12334) (#14840) (Nitin Kumar)f110926Update: fix no-unused-vars false negative with comma operator (#14928) (Sachin)e98f14dDocs: Fix typo in no-implicit-globals.md (#14954) (jwbth)9a4ae3bChore: Apply comment require-description and check ClassDeclaration (#14949) (Brett Zamir)8344675Chore: fix small typo (#14951) (Sosuke Suzuki)26b0cd9Update: fix no-unreachable logic for class fields (refs #14857) (#14920) (Milos Djermanovic)ee1b54fFix: keyword-spacing private name compat (refs #14857) (#14946) (Nicholas C. Zakas)58840acChore: Update jsdoc plugin and tweak rules in effect (#14814) (Brett Zamir)81c60f4Docs: document ESLint api (#14934) (Sam Chen)c74fe08Build: Force prerelease peer dep for Node 16 in CI (#14933) (Brandon Mills)c9947d28.0.0-beta.0 (ESLint Jenkins)027165cBuild: changelog update for 8.0.0-beta.0 (ESLint Jenkins)be334f9Chore: Fix Makefile call to linter.getRules() (#14932) (Brandon Mills)0c86b68Chore: Replace old syntax for Array flat/flatMap (#14614) (Stephen Wade)6a89f3fChore: ignoreyarn-error.logand.pnpm-debug.log(#14925) (Nitin Kumar)28fe19cDocs: Add v8.0.0 migration guide (fixes #14856) (#14884) (Nicholas C. Zakas)ec9db63Upgrade: @eslint/eslintrc@1.0.0 (#14865) (Milos Djermanovic)1f5d088Docs: add an exampleObject.assign()for rule no-import-assign (#14916) (薛定谔的猫)af96584Fix: handle computed class fields in operator-linebreak (refs #14857) (#14915) (Milos Djermanovic)3b6cd89Chore: Add rel/abs path tests inno-restricted-{imports/modules}rules (#14910) (Bryan Mishkin)62c6fe7Upgrade: Debug 4.0.1 > 4.3.2 (#14892) (sandesh bafna)f984515Chore: add assertions on reporting location insemi(#14899) (Nitin Kumar)a773b99Fix: no-useless-computed-key edge cases with class fields (refs #14857) (#14903) (Milos Djermanovic)88db3f5Upgrade:js-yamlto v4 (#14890) (Bryan Mishkin)cbc43daFix: prefer-destructuring PrivateIdentifier false positive (refs #14857) (#14897) (Milos Djermanovic)ccb9a91Fix: dot-notation false positive with private identifier (refs #14857) (#14898) (Milos Djermanovic)8c35066Sponsors: Sync README with website (ESLint Jenkins)a3dd825Sponsors: Sync README with website (ESLint Jenkins)c4e5802Docs: improve rule details forno-console(fixes #14793) (#14901) (Nitin Kumar)9052eeeUpdate: check class fields in no-extra-parens (refs #14857) (#14906) (Milos Djermanovic)5c3a470Docs: add class fields in no-multi-assign documentation (refs #14857) (#14907) (Milos Djermanovic)d234d89Docs: add class fields in func-names documentation (refs #14857) (#14908) (Milos Djermanovic)ae6072bUpgrade:eslint-visitor-keysto v3 (#14902) (Bryan Mishkin)e53d8cfUpgrade:markdownlintdev dependencies (#14883) (Bryan Mishkin)d66e941Upgrade: @humanwhocodes/config-array to 0.6 (#14891) (Bryan Mishkin)149230cChore: Specify Node 14.x for Verify Files CI job (#14896) (Milos Djermanovic)537cf6aChore: updateglob-parent(fixes #14879)(#14887) (Nitin Kumar)f7b4a3fChore: update dev deps to latest (#14624) (薛定谔的猫)24c9f2aBreaking: Strict package exports (refs #13654) (#14706) (Nicholas C. Zakas)86d31a4](https://togithub.com/eslint/eslint/commit/86d31a4951e3a39e359e284Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.