This repository was archived by the owner on Aug 23, 2022. It is now read-only.
chore(deps): update dependency eslint to v8#18
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:
^3.19.0->^8.0.0Release Notes
eslint/eslint
v8.18.0Compare Source
Features
a6273b8feat: account for rule creation time in performance reports (#15982) (Nitin Kumar)Bug Fixes
f364d47fix: Make no-unused-vars treat for..of loops same as for..in loops (#15868) (Alex Bass)Documentation
4871047docs: Update analytics, canonical URL, ads (#15996) (Nicholas C. Zakas)cddad14docs: Add correct/incorrect containers (#15998) (Nicholas C. Zakas)b04bc6fdocs: Add rules meta info to rule pages (#15902) (Nicholas C. Zakas)1324f10docs: unify the wording referring to optional exception (#15893) (Abdelrahman Elkady)ad54d02docs: add missing trailing slash to some internal links (#15991) (Milos Djermanovic)df7768edocs: Switch to version-relative URLs (#15978) (Nicholas C. Zakas)21d6479docs: change some absolute links to relative (#15970) (Milos Djermanovic)f31216adocs: Update README team and sponsors (ESLint Jenkins)Build Related
ed49f15build: remove unwanted parallel and image-min for dev server (#15986) (Strek)Chores
f6e2e63chore: fix 'replaced by' rule list (#16007) (Milos Djermanovic)d94dc84chore: remove unused deprecation warnings (#15994) (Francesco Trotta)cdcf11echore: fix versions link (#15995) (Milos Djermanovic)d2a8715chore: add trailing slash topathPrefix(#15993) (Milos Djermanovic)58a1bf0chore: tweak URL rewriting for local previews (#15992) (Milos Djermanovic)80404d2chore: remove docs deploy workflow (#15984) (Nicholas C. Zakas)71bc750chore: Set permissions for GitHub actions (#15971) (Naveen)90ff647chore: avoid generating subdirectories for each page on new docs site (#15967) (Milos Djermanovic)v8.17.0Compare Source
Features
55319e1feat: fix indent bug with semicolon-first style (#15951) (Milos Djermanovic)f6d7920feat: addallowNamedExportsoption to no-use-before-define (#15953) (Milos Djermanovic)Bug Fixes
54c0953fix: cleanup typos (#15939) (Nick Schonning)845a7affix: typo ocatal -> octal (#15940) (Nick Schonning)Documentation
b915018docs: Update website UI to latest (#15944) (Nicholas C. Zakas)f0bb609docs: Update Exponentiation operator MDN link (#15960) (Pranjal Jain)baa0153docs: Use correct past tense "left" instead of "leaved" (#15950) (Frederik Braun)1351a9bdocs: Add Resources section to rule pages (#15901) (Nicholas C. Zakas)68cf0fbdocs: cleanup typos (#15936) (Nick Schonning)13b62aedocs: use-dart-sass instead of node-sass (#15912) (Deepshika S)c81c5d6docs: add social media links (#15920) (Deepshika S)0d6a50bdocs: fix openjs link (#15917) (Amaresh S M)54910f5docs: display version in mobile view (#15909) (Amaresh S M)Chores
da694b9chore: avoid theme flashes (#15927) (Strek)f836743chore: Use build hook for docs deploy (#15945) (Nicholas C. Zakas)ce035e5test: cleanup typos (#15937) (Nick Schonning)10249adchore: use addEventListener instead of addListener (#15923) (Amaresh S M)5f5c1fbchore: lint eleventy config file (#15904) (Milos Djermanovic)8513d37chore: update Rule typedefs (#15915) (Milos Djermanovic)55534f1test: ensure no-restricted-imports works with NodeJS imports (#15907) (Nick Mazuk)v8.16.0Compare Source
Features
cab0c22feat: add Unicode flag suggestion in no-misleading-character-class (#15867) (Milos Djermanovic)38ae956feat: check Unicode code point escapes in no-control-regex (#15862) (Milos Djermanovic)ee69cd3feat: Update global variables (#15871) (Sébastien Règne)Bug Fixes
3f09aabfix: function-paren-newline crash on "new new Foo();" (#15850) (coderaiser)Documentation
050d5f4docs: Static further reading links (#15890) (Nicholas C. Zakas)36287c0docs: fix absolute paths in related rules shortcode to work from /docs (#15892) (Milos Djermanovic)90b6990docs: fix absolute links in rule macro to work from /docs (#15891) (Milos Djermanovic)f437249docs: Adjust docs site path prefix (#15889) (Nicholas C. Zakas)6e16025docs: update 'Related Rules' and 'Further Reading' in remaining rules (#15884) (Milos Djermanovic)1d39f69docs: remove confusing examples for no-mixed-operators (#15875) (Milos Djermanovic)3071d76docs: Fix some grammar issues (#15837) (byodian)Chores
1768d0dchore: upgrade @eslint/eslintrc@1.3.0 (#15903) (Milos Djermanovic)c686e4cchore: Add deploy workflow for docs site (#15894) (Nicholas C. Zakas)c7894cdchore: enable some rules from eslint-plugin-unicorn internally (#15878) (Bryan Mishkin)ea65cb5chore: upgrade eslint-plugin-eslint-plugin@^4.2.0 (#15882) (唯然)cc29c69chore: Upgrade official GitHub actions to latest versions (#15880) (Darius Dzien)5891c75chore: Refactor rule docs format (#15869) (Nicholas C. Zakas)v8.15.0Compare Source
Features
ab37d3bfeat: addenforceInClassFieldsoption to no-underscore-dangle (#15818) (Roberto Cestari)Bug Fixes
8bf9440fix: "use strict" should not trigger strict mode in ES3 (#15846) (Milos Djermanovic)Documentation
28116ccdocs: update AST node names link in no-restricted-syntax (#15843) (Milos Djermanovic)272965fdocs: fix h1 heading on formatters page (#15834) (Milos Djermanovic)a798166docs: update example for running individual rule tests (#15833) (Milos Djermanovic)57e732bdocs: markSourceCode#getJSDocCommentdeprecated in working-with-rules (#15829) (Milos Djermanovic)9a90abfdocs: update docs directory in working-with-rules (#15830) (Milos Djermanovic)810addadocs: add more examples for prefer-object-spread (#15831) (coderaiser)06b1edbdocs: clarify no-control-regex rule (#15808) (Milos Djermanovic)9ecd42fdocs: Fixed typo in code comment (#15812) (Addison G)de992b7docs: remove links to 2fa document (#15804) (Milos Djermanovic)5222659docs: fix 'Related Rules' heading in no-constant-binary-expression (#15799) (Milos Djermanovic)e70ae81docs: Update README team and sponsors (ESLint Jenkins)Chores
1ba6a92chore: upgrade @eslint/eslintrc@1.2.3 (#15847) (Milos Djermanovic)8167aa7chore: bump version of minimatch due to security issue PRISMA-2022-0039 (#15774) (Jan Opravil)b8995a4chore: Implement docs site (#15815) (Nicholas C. Zakas)6494e3echore: update link incodeql-analysis.yml(#15817) (Milos Djermanovic)36503ecchore: enable no-constant-binary-expression in eslint-config-eslint (#15807) (唯然)v8.14.0Compare Source
Features
ab6363dfeat: Add rule no-constant-binary-expression (#15296) (Jordan Eldredge)Bug Fixes
35fa1ddfix: allow project paths to have URL-encoded characters (#15795) (Milos Djermanovic)413f1d5fix: updateastUtils.isDirectiveCommentwithglobalsandexported(#15775) (Milos Djermanovic)Build Related
c2407e8build: add node v18 (#15791) (唯然)Chores
735458cchore: add static frontmatter to no-constant-binary-expression docs (#15798) (Milos Djermanovic)db28f2cchore: Add static frontmatter to docs (#15782) (Nicholas C. Zakas)3bca59echore: markdownlint autofix on commit (#15783) (Nicholas C. Zakas)v8.13.0Compare Source
Features
274acbdfeat: fix no-eval logic forthisin arrow functions (#15755) (Milos Djermanovic)Bug Fixes
97b57aefix: invalid operator in operator-assignment messages (#15759) (Milos Djermanovic)Documentation
c32482edocs: Typo in space-infix-ops docs (#15754) (kmin-jeong)f2c2d35docs: disambiguate typesFormatterFunctionandLoadedFormatter(#15727) (Francesco Trotta)Chores
bb4c0d5chore: Refactor docs to work with docs.eslint.org (#15744) (Nicholas C. Zakas)d36f12fchore: removelib/initfrom eslint config (#15748) (Milos Djermanovic)a59a4e6chore: replacetrimLeft/trimRightwithtrimStart/trimEnd(#15750) (Milos Djermanovic)v8.12.0Compare Source
Features
685a67afeat: fix logic for top-levelthisin no-invalid-this and no-eval (#15712) (Milos Djermanovic)Chores
18f5e05chore: padding-line-between-statements remove uselessadditionalItems(#15706) (Martin Sadovy)v8.11.0Compare Source
Features
800bd25feat: adddestructuredArrayIgnorePatternoption inno-unused-vars(#15649) (Nitin Kumar)8933fe7feat: CatchundefinedandBoolean()in no-constant-condition (#15613) (Jordan Eldredge)f90fd9dfeat: Add ESLint favicon to the HTML report document (#15671) (Mahdi Hosseinzadeh)57b8a57feat:valid-typeofalways banundefined(#15635) (Zzzen)Bug Fixes
6814922fix: escaping for square brackets in ignore patterns (#15666) (Milos Djermanovic)c178ce7fix: extend the autofix range in comma-dangle to ensure the last element (#15669) (Milos Djermanovic)Documentation
c481cecdocs: add fast-eslint-8 to atom integrations (userguide) (#15695) (db developer)d2255dbdocs: Add clarification abouteslint-enable(#15680) (dosisod)8b9433cdocs: add object pattern to first section of computed-property-spacing (#15679) (Milos Djermanovic)de800c3docs: link to minimatch docs added. (#15688) (Gaurav Tewari)8f675b1docs: sort-imports add single named import example (#15675) (Arye Eidelman)Chores
385c9adchore: rm trailing space in docs (#15689) (唯然)v8.10.0Compare Source
Features
6e2c325feat: AddignoreOnInitializationoption to no-shadow rule (#14963) (Soufiane Boutahlil)115cae5feat:--debugprints time it takes to parse a file (#15609) (Bartek Iwańczuk)345e70dfeat: AddonlyOneSimpleParamoption to no-confusing-arrow rule (#15566) (Gautam Arora)Bug Fixes
cdc5802fix: Avoid__dirnamefor built-in configs (#15616) (DoZerg)ee7c5d1fix: false positive incamelcasewith combined properties (#15581) (Nitin Kumar)Documentation
1005bd5docs: update CLA information (#15630) (Nitin Kumar)5d65c3bdocs: Fix typo inno-irregular-whitespace(#15634) (Ryota Sekiya)b93af98docs: add links between rules about whitespace around block curly braces (#15625) (Milos Djermanovic)ebc0460docs: update babel links (#15624) (Milos Djermanovic)Chores
7cec74echore: upgrade @eslint/eslintrc@1.2.0 (#15648) (Milos Djermanovic)11c8580chore: readESLINT_MOCHA_TIMEOUTenv var in Makefile.js (#15626) (Piggy)bfaa548test: add integration tests with built-in configs (#15612) (Milos Djermanovic)39a2fb3perf: fix lazy loading of core rules (#15606) (Milos Djermanovic)3fc9196chore: includetests/confin test runs (#15610) (Milos Djermanovic)v8.9.0Compare Source
Features
68f64a9feat: update eslint-scope to ignore"use strict"directives in ES3 (#15595) (Milos Djermanovic)db57639feat: addes2016,es2018,es2019, andes2022environments (#15587) (Milos Djermanovic)2dc38aafeat: fix bug with arrow function return types in function-paren-newline (#15541) (Milos Djermanovic)6f940c3feat: Implement FlatRuleTester (#15519) (Nicholas C. Zakas)Documentation
570a036docs: addone-varexample withfor-loopinitializer (#15596) (Milos Djermanovic)417191ddocs: Remove the $ prefix in terminal commands (#15565) (Andreas Lewis)389ff34docs: add missingVariable#scopeproperty in the scope manager docs (#15571) (Milos Djermanovic)f63795ddocs: no-eval replace dead link with working one (#15568) (rasenplanscher)0383591docs: Remove old Markdown issue template (#15556) (Brandon Mills)a8dd5a2docs: add 'when not to use it' section in no-duplicate-case docs (#15563) (Milos Djermanovic)1ad439edocs: add missed verb in docs (#15550) (Jeff Mosawy)Chores
586d45cchore: Upgrade to espree@9.3.1 (#15600) (Milos Djermanovic)623e1e2chore: Upgrade to eslint-visitor-keys@3.3.0 (#15599) (Milos Djermanovic)355b23dchore: fix outdated link to Code of Conduct in PR template (#15578) (Rich Trott)b10fef2ci: use Node 16 for browser test (#15569) (Milos Djermanovic)92f89fbchore: suggest demo link in bug report template (#15557) (Brandon Mills)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 eslint-visitor-keys@3.2.0 (#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 ([#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.