Skip to content

chore(deps): update dependency eslint to v8 - autoclosed

Renovate-Bot requested to merge renovate/eslint-8.x into dev

This MR contains the following updates:

Package Type Update Change
eslint (source) devDependencies major ^7.31.0 -> ^8.0.0

Release Notes

eslint/eslint

v8.22.0

Compare Source

Features

  • 2b97607 feat: Implement caching for FlatESLint (#​16190) (Nicholas C. Zakas)
  • fd5d3d3 feat: add methodsIgnorePattern option to object-shorthand rule (#​16185) (Milos Djermanovic)

Documentation

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 in key-spacing rule (#​16154) (Nitin Kumar)
  • c461542 feat: add new allowLineSeparatedGroups option to the sort-keys rule (#​16138) (Nitin Kumar)
  • 1cdcbca feat: add deprecation warnings for legacy API in RuleTester (#​16063) (Nitin Kumar)

Bug Fixes

  • 0396775 fix: lines-around-comment apply allowBlockStart for switch statements (#​16153) (Nitin Kumar)

Documentation

Chores

v8.20.0

Compare Source

Features

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

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 blockless with 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

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 to pathPrefix (#​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: add allowNamedExports option to no-use-before-define (#​15953) (Milos Djermanovic)

Bug Fixes

Documentation

Chores

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

v8.15.0

Compare Source

Features

  • ab37d3b feat: add enforceInClassFields 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: mark SourceCode#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 (#​15808) (Milos Djermanovic)
  • 9ecd42f docs: Fixed typo in code comment (#​15812) (Addison G)
  • de992b7 docs: remove links to 2fa document (#​15804) (Milos Djermanovic)
  • 5222659 docs: fix 'Related Rules' heading in no-constant-binary-expression (#​15799) (Milos Djermanovic)
  • e70ae81 docs: Update README team and sponsors (ESLint Jenkins)

Chores

v8.14.0

Compare Source

Features

  • ab6363d feat: Add rule no-constant-binary-expression (#​15296) (Jordan Eldredge)

Bug Fixes

  • 35fa1dd fix: allow project paths to have URL-encoded characters (#​15795) (Milos Djermanovic)
  • 413f1d5 fix: update astUtils.isDirectiveComment with globals and exported (#​15775) (Milos Djermanovic)

Build Related

Chores

  • 735458c chore: add static frontmatter to no-constant-binary-expression docs (#​15798) (Milos Djermanovic)
  • db28f2c chore: Add static frontmatter to docs (#​15782) (Nicholas C. Zakas)
  • 3bca59e chore: markdownlint autofix on commit (#​15783) (Nicholas C. Zakas)

v8.13.0

Compare Source

Features

  • 274acbd feat: fix no-eval logic for this in arrow functions (#​15755) (Milos Djermanovic)

Bug Fixes

  • 97b57ae fix: invalid operator in operator-assignment messages (#​15759) (Milos Djermanovic)

Documentation

  • c32482e docs: Typo in space-infix-ops docs (#​15754) (kmin-jeong)
  • f2c2d35 docs: disambiguate types FormatterFunction and LoadedFormatter (#​15727) (Francesco Trotta)

Chores

  • bb4c0d5 chore: Refactor docs to work with docs.eslint.org (#​15744) (Nicholas C. Zakas)
  • d36f12f chore: remove lib/init from eslint config (#​15748) (Milos Djermanovic)
  • a59a4e6 chore: replace trimLeft/trimRight with trimStart/trimEnd (#​15750) (Milos Djermanovic)

v8.12.0

Compare Source

Features

  • 685a67a feat: fix logic for top-level this in no-invalid-this and no-eval (#​15712) (Milos Djermanovic)

Chores

  • 18f5e05 chore: padding-line-between-statements remove useless additionalItems (#​15706) (Martin Sadovy)

v8.11.0

Compare Source

Features

  • 800bd25 feat: add destructuredArrayIgnorePattern option in no-unused-vars (#​15649) (Nitin Kumar)
  • 8933fe7 feat: Catch undefined and Boolean() in no-constant-condition (#​15613) (Jordan Eldredge)
  • f90fd9d feat: Add ESLint favicon to the HTML report document (#​15671) (Mahdi Hosseinzadeh)
  • 57b8a57 feat: valid-typeof always ban undefined (#​15635) (Zzzen)

Bug Fixes

  • 6814922 fix: escaping for square brackets in ignore patterns (#​15666) (Milos Djermanovic)
  • c178ce7 fix: extend the autofix range in comma-dangle to ensure the last element (#​15669) (Milos Djermanovic)

Documentation

  • c481cec docs: add fast-eslint-8 to atom integrations (userguide) (#​15695) (db developer)
  • d2255db docs: Add clarification about eslint-enable (#​15680) (dosisod)
  • 8b9433c docs: add object pattern to first section of computed-property-spacing (#​15679) (Milos Djermanovic)
  • de800c3 docs: link to minimatch docs added. (#​15688) (Gaurav Tewari)
  • 8f675b1 docs: sort-imports add single named import example (#​15675) (Arye Eidelman)

Chores

v8.10.0

Compare Source

Features

  • 6e2c325 feat: Add ignoreOnInitialization option to no-shadow rule (#​14963) (Soufiane Boutahlil)
  • 115cae5 feat: --debug prints time it takes to parse a file (#​15609) (Bartek Iwańczuk)
  • 345e70d feat: Add onlyOneSimpleParam option to no-confusing-arrow rule (#​15566) (Gautam Arora)

Bug Fixes

  • cdc5802 fix: Avoid __dirname for built-in configs (#​15616) (DoZerg)
  • ee7c5d1 fix: false positive in camelcase with combined properties (#​15581) (Nitin Kumar)

Documentation

Chores

v8.9.0

Compare Source

Features

  • 68f64a9 feat: update eslint-scope to ignore "use strict" directives in ES3 (#​15595) (Milos Djermanovic)
  • db57639 feat: add es2016, es2018, es2019, and es2022 environments (#​15587) (Milos Djermanovic)
  • 2dc38aa feat: fix bug with arrow function return types in function-paren-newline (#​15541) (Milos Djermanovic)
  • 6f940c3 feat: Implement FlatRuleTester (#​15519) (Nicholas C. Zakas)

Documentation

  • 570a036 docs: add one-var example with for-loop initializer (#​15596) (Milos Djermanovic)
  • 417191d docs: Remove the $ prefix in terminal commands (#​15565) (Andreas Lewis)
  • 389ff34 docs: add missing Variable#scope property in the scope manager docs (#​15571) (Milos Djermanovic)
  • f63795d docs: no-eval replace dead link with working one (#​15568) (rasenplanscher)
  • 0383591 docs: Remove old Markdown issue template (#​15556) (Brandon Mills)
  • a8dd5a2 docs: add 'when not to use it' section in no-duplicate-case docs (#​15563) (Milos Djermanovic)
  • 1ad439e docs: add missed verb in docs (#​15550) (Jeff Mosawy)

Chores

  • 586d45c chore: Upgrade to espree@9.3.1 (#​15600) (Milos Djermanovic)
  • 623e1e2 chore: Upgrade to eslint-visitor-keys@3.3.0 (#​15599) (Milos Djermanovic)
  • 355b23d chore: fix outdated link to Code of Conduct in MR template (#​15578) (Rich Trott)
  • b10fef2 ci: use Node 16 for browser test (#​15569) (Milos Djermanovic)
  • 92f89fb chore: suggest demo link in bug report template (#​15557) (Brandon Mills)

v8.8.0

Compare Source

Features

Documentation

v8.7.0

Compare Source

Features

  • 19ad061 feat: no-restricted-imports support casing (#​15439) (gfyoung)
  • 564ecdb feat: Support arbitrary module namespace names in no-restricted-imports (#​15491) (Milos Djermanovic)
  • 968a02a feat: Support arbitrary module namespace names in no-useless-rename (#​15493) (Milos Djermanovic)
  • 0d2b9a6 feat: move eslint --init to @​eslint/create-config (#​15150) (唯然)
  • 127f524 feat: false negative with property option in id-match (#​15474) (Nitin Kumar)
  • 359b2c1 feat: Support arbitrary module namespace names in the camelcase rule (#​15490) (Milos Djermanovic)
  • 3549571 feat: Support arbitrary module namespace names in the quotes rule (#​15479) (Milos Djermanovic)
  • 5563c45 feat: Support arbitrary module namespace names in keyword-spacing (#​15481) (Milos Djermanovic)
  • fd3683f feat: Support arbitrary module namespace names in no-restricted-exports (#​15478) (Milos Djermanovic)

Bug Fixes

  • a8db9a5 fix: no-invalid-this false positive in class field initializer (#​15495) (Milos Djermanovic)
  • 02d6426 fix: Correctly consume RuleTester statics (#​15507) (Brad Zacher)
  • db15802 fix: Add property fatalErrorCount to ignored file results (#​15520) (Francesco Trotta)
  • 03ac8cf fix: Prevent false positives with no-constant-condition (#​15486) (Jordan Eldredge)

Documentation

  • f50f849 docs: Update CLI docs to prefer local install (#​15513) (Nicholas C. Zakas)
  • 0469eb1 docs: Update shell code fences for new website (#​15522) (Olga)

Chores

v8.6.0

Compare Source

Features

  • 6802a54 feat: handle logical assignment in no-self-assign (#​14152) (Zzzen)
  • 3b38018 feat: allow to define eslint-disable-next-line in multiple lines (#​15436) (Nitin Kumar)
  • 9d6fe5a feat: false negative with onlyDeclarations + properties in id-match (#​15431) (Nitin Kumar)

Documentation

Chores

  • 3a384fc chore: Upgrade espree to 9.3.0 (#​15473) (Brandon Mills)
  • 1443cc2 chore: Update blogpost.md.ejs (#​15468) (Nicholas C. Zakas)
  • 28e907a refactor: remove unused parameter in linter.js (#​15451) (Milos Djermanovic)
  • eaa08d3 test: add tests for allowReserved parser option with flat config (#​15450) (Milos Djermanovic)

v8.5.0

Compare Source

Features

Bug Fixes

  • 7d832d4 fix: improve prefer-template fixer (#​15230) (Nitin Kumar)
  • 981fb48 fix: do not report global references in id-match rule (#​15420) (Nitin Kumar)
  • f13d4a6 fix: improve autofix of prefer-object-has-own (#​15419) (Nitin Kumar)
  • f4559a0 fix: add helpful message when test case has non-string code/name (#​15425) (Bryan Mishkin)

Documentation

  • 314c84c docs: add an incorrect code example in for-direction (#​15434) (Holger Jeromin)
  • 3928175 docs: add destructuring examples for computed-property-spacing (#​15423) (Nitin Kumar)
  • a53e59e docs: add more examples for array-element-newline rule (#​15427) (Nitin Kumar)
  • 74cf0a0 docs: update CLA info (#​15370) (Nitin Kumar)
  • e84195e docs: fix heading level for an option in class-methods-use-this rule (#​15399) (Takuya Fukuju)

Chores

  • 225f211 test: add destructuring test cases for computed-property-spacing (#​15424) (Nitin Kumar)
  • f2c7ba6 ci: use node v16 for macOS and windows jobs (#​15418) (Nitin Kumar)

v8.4.1

Compare Source

Bug Fixes

  • 234e3d9 fix: revert changes to reported locations in max-lines-per-function (#​15397) (Milos Djermanovic)

Documentation

  • fa4d483 docs: fix typo in example for sort-keys rule (#​15393) (Nitin Kumar)

v8.4.0

Compare Source

Features

Bug Fixes

  • 4940cc5 fix: mark --rulesdir option as deprecated in CLI docs (#​15310) (Kevin Partington)

Documentation

  • 54deec5 docs: update integrations.md (#​15380) (Vlad Sholokhov)
  • fa0423a docs: fix typo in MR template (#​15365) (Nitin Kumar)
  • e233920 docs: enable a few more markdownlint rules and fix violations (#​15368) (Bryan Mishkin)
  • 632176d docs: Dedent needlessly indented example in getter-return docs (#​15363) (Jordan Eldredge)
  • 4497e88 docs: Update release notes blog post template (#​15285) (Nicholas C. Zakas)

Chores

v8.3.0

Compare Source

Features

  • 60b0a29 feat: add allowProperties option to require-atomic-updates (#​15238) (Milos Djermanovic)
  • 79278a1 feat: update no-use-before-define for class static blocks (#​15312) (Milos Djermanovic)
  • ddd01dc feat: update no-redeclare for class static blocks (#​15313) (Milos Djermanovic)
  • de69cec feat: update no-inner-declarations for class static blocks (#​15290) (Milos Djermanovic)
  • e2fe7ef feat: support for private-in syntax (fixes #​14811) (#​15060) (Yosuke Ota)
  • 34bc8d7 feat: Update espree and eslint-scope (#​15338) (Brandon Mills)
  • b171cd7 feat: update max-depth for class static blocks (#​15316) (Milos Djermanovic)
  • 6487df3 feat: update padded-blocks for class static blocks (#​15333) (Milos Djermanovic)
  • 194f36d feat: update the complexity rule for class static blocks (#​15328) (Milos Djermanovic)
  • 3530337 feat: update the indent rule for class static blocks (#​15324) (Milos Djermanovic)
  • f03cd14 feat: update lines-around-comment for class static blocks (#​15323) (Milos Djermanovic)
  • 5c64747 feat: update brace-style for class static blocks (#​15322) (Milos Djermanovic)
  • df2f1cc feat: update max-statements for class static blocks (#​15315) (Milos Djermanovic)
  • fd5a0b8 feat: update prefer-const for class static blocks (#​15325) (Milos Djermanovic)
  • b3669fd feat: code path analysis for class static blocks (#​15282) (Milos Djermanovic)
  • 15c1397 feat: update eslint-scope for class static blocks (#​15321) (Milos Djermanovic)
  • 1a1bb4b feat: update one-var for class static blocks (#​15317) (Milos Djermanovic)
  • 9b666e0 feat: update padding-line-between-statements for class static blocks (#​15318) (Milos Djermanovic)
  • d3a267f feat: update class-methods-use-this for class static blocks (#​15298) (Milos Djermanovic)
  • cdaa541 feat: update no-lone-blocks for class static blocks (#​15295) (Milos Djermanovic)
  • 8611538 feat: update block-spacing for class static blocks (#​15297) (Milos Djermanovic)
  • 7b56844 feat: update keyword-spacing for class static blocks (#​15289) (Milos Djermanovic)
  • ea18711 feat: update no-extra-semi for class static blocks (#​15287) (Milos Djermanovic)
  • 0f0971f feat: update semi rule for class static blocks (#​15286) (Milos Djermanovic)
  • abe740c feat: add examples for block-scoped-var with class static blocks (#​15302) (Milos Djermanovic)
  • 0338fd2 feat: Normalize ecmaVersion to eslint-scope when using custom parser (#​15268) (Yosuke Ota)

Bug Fixes

  • 8aa7645 fix: update vars-on-top for class static blocks (#​15306) (Milos Djermanovic)
  • 479a4cb fix: update semi-style for class static blocks (#​15309) (Milos Djermanovic)
  • 6d1c666 fix: update no-invalid-this and no-eval for class static blocks (#​15300) (Milos Djermanovic)

Documentation

  • 6b85426 docs: Expand --debug option description in the CLI documentation (#​15308) (darkred)
  • 3ae5258 docs: the strict rule does not apply to class static blocks (#​15314) (Milos Djermanovic)
  • 9309841 docs: Remove inconsistent colon in pull request docs (#​15303) (Jordan Eldredge)
  • da238cc docs: remove deprecation note from lines-around-comment (#​15293) (Milos Djermanovic)
  • 1055f16 docs: no-unused-expressions - class static blocks don't have directives (#​15283) (Milos Djermanovic)
  • 4c55216 docs: Add variables option to no-use-before-define (#​15276) (Mathias Rasmussen)

Chores

  • edd8d24 chore: upgrade eslint-visitor-keys for class static blocks (#​15277) (Milos Djermanovic)

v8.2.0

Compare Source

Features

  • c9fefd2 feat: report class evaluation TDZ errors in no-use-before-define (#​15134) (Milos Djermanovic)

Documentation

  • c415c04 docs: Use string rule severity in CLI examples (#​15253) (Kevin Partington)
  • 12b627d docs: fix typo in working-with-rules.md (#​15233) (Nitin Kumar)
  • a86ffc0 docs: fix broken anchor in configuration files (#​15223) (Pierre Berger)
  • ee8af5f docs: Link to unit tests from rule documentation (#​15207) (Brandon Mills)
  • 1c0ca3c docs: add ci and perf tags for commit (#​15215) (Nitin Kumar)

Build Related

  • 796587a build: upgrade eslint-release to v3.2.0 to support conventional commits (#​15246) (Milos Djermanovic)

Chores

v8.1.0

Compare Source

v8.0.1

Compare Source

v8.0.0

Compare Source


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by Renovate-Bot

Merge request reports

Loading