Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Eslint packages (major) #21604

Merged
merged 10 commits into from
Feb 1, 2022
Merged

Update Eslint packages (major) #21604

merged 10 commits into from
Feb 1, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 1, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typescript-eslint/eslint-plugin 4.33.0 -> 5.10.2 age adoption passing confidence
@typescript-eslint/parser 4.33.0 -> 5.10.2 age adoption passing confidence
eslint (source) 7.32.0 -> 8.8.0 age adoption passing confidence
eslint-plugin-inclusive-language 1.2.1 -> 2.2.0 age adoption passing confidence
eslint-plugin-jest 24.7.0 -> 26.0.0 age adoption passing confidence
eslint-plugin-jsdoc 36.1.1 -> 37.7.0 age adoption passing confidence
eslint-plugin-prettier 3.4.1 -> 4.0.0 age adoption passing confidence

Release Notes

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v5.10.2

Compare Source

Bug Fixes
  • eslint-plugin: [no-restricted-imports] allow relative type imports with patterns configured (#​4494) (4a6d217)

v5.10.1

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.10.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-function-return-type] support AllowTypedFunctionExpression within AllowHigherOrderFunction (#​4250) (d053cde)
  • eslint-plugin: [no-extra-semi] false negatives when used with eslint 8.3.0 (#​4458) (f4016c2)
  • eslint-plugin: [no-invalid-this] crash when used with eslint 8.7.0 (#​4448) (e56f1e5)
  • eslint-plugin: [no-magic-numbers] handle bigint in class props (#​4411) (c8e650f)
Features
  • rename experimental-utils to utils and make experimental-utils an alias to the new package (#​4172) (1d55a75)

5.9.1 (2022-01-10)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.9.1

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.9.0

Compare Source

Features
  • experimental-utils: move isTypeReadonly from eslint-plugin to experimental-utils (#​3658) (a9eb0b9)

5.8.1 (2021-12-27)

Bug Fixes
  • eslint-plugin: [consistent-indexed-object-style] do not report for circular references (#​4347) (6edebcd)
  • eslint-plugin: [consistent-type-definitions] correct fixer with declare keyword (#​4334) (0cd911a)
  • eslint-plugin: [padding-line-between-statements] make function overloading is also processed (#​4345) (d31ec26)

v5.8.1

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-indexed-object-style] do not report for circular references (#​4347) (6edebcd)
  • eslint-plugin: [consistent-type-definitions] correct fixer with declare keyword (#​4334) (0cd911a)
  • eslint-plugin: [padding-line-between-statements] make function overloading is also processed (#​4345) (d31ec26)

v5.8.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-implied-eval] improve performance (#​4313) (e344596)
  • eslint-plugin: [padding-line-between-statements] type StatementTypes can't differenciate from variable (#​4270) (bfc4324)
  • eslint-plugin: [strict-boolean-expression] false positive for truthy boolean (#​4275) (72c2e41)
  • eslint-plugin: array-type mark AST_NODE_TYPES.TSBigIntKeyword as simple (#​4274) (74e544e)
  • eslint-plugin: handle method overloading in semi (#​4318) (3b87b49)
  • experimental-utils: support immutable members (#​3844) (3d33a77)
Features
  • eslint-plugin: [no-throw-literal] add options to to disallow any/unknown (#​4207) (ff0adf9)
  • eslint-plugin: [restrict-plus-operand] add allowAny option (#​4260) (2788545)

v5.7.0

Compare Source

Features
  • eslint-plugin: [consistent-type-exports] support TS4.5 inline export specifiers (#​4236) (be4d976)
  • eslint-plugin: [consistent-type-imports] support TS4.5 inline import specifiers (#​4237) (f61af7c)
  • eslint-plugin: [no-shadow] support TS4.5 inline import specifiers (#​4239) (96b7e8e)

v5.6.0

Compare Source

Features
  • scope-manager: support TS4.5 import/export specifier kind (#​4234) (833f822)

v5.5.0

Compare Source

Bug Fixes
  • eslint-plugin: [member-ordering] order literal names correctly in (#​4054) (d57141a)
  • eslint-plugin: [no-duplicate-imports] remove unnecessary type checking for node.source (#​4196) (637722a)
  • eslint-plugin: [no-var-requires] do not report require created from createRequire (#​4221) (0040186)
  • eslint-plugin: [prefer-for-of] do nor error when iterating over this (#​4176) (258ddb0)
  • eslint-plugin: [require-await] treat yield* asynciterable as an await (#​4125) (5a4ce6a)
  • eslint-plugin: remove all whitespaces in comparison #​4220 (#​4223) (853d799)
Features
  • eslint-plugin: [member-ordering] add option to sort case insensitive (#​3896) (e3533d5)
  • eslint-plugin: array-type distinguish whether readonly or not (#​4066) (314af44)

v5.4.0

Compare Source

Bug Fixes
  • correct issues with circular imports (#​4140) (4c87b24)
  • eslint-plugin: [explicit-member-accessibility] private fields cannot have accessibility modifiers (#​4117) (81b25c1)
  • eslint-plugin: [no-implied-eval] ignore locally declared functions (#​4049) (d97140e)
  • eslint-plugin: check optional chaining for floating promises (#​4096) (d724777)
Features

5.3.1 (2021-11-08)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.3.1

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.3.0

Compare Source

Bug Fixes
  • eslint-plugin: ignore private identifiers in explicit-module-boundary-types (#​4046) (80b853d)
  • eslint-plugin: skip seenTypes for unions in isTypeReadonly (#​4043) (6af7ca7)
Features
  • eslint-plugin: [no-shadow] exclude external type declaration merging (#​3959) (a93cebf)

v5.2.0

Compare Source

Bug Fixes
Features

v5.1.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-restricted-imports]: report type-only imports properly (#​3996) (283cdf2)
  • eslint-plugin: [strict-bool-expr] treat unconstrained generic as any (#​3981) (9b29ca7)

v5.0.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-member-accessibility] report TSAbstractPropertyDefinition and TSAbstractMethodDefinition properly (#​3901) (82016f9)
  • eslint-plugin: update new rules from master (#​3840) (d88a6b4)
  • update new rules from master (b34fb7e)
  • eslint-plugin: crash in no-dupe-class-members (v5) (#​3813) (4b09644)
Features
BREAKING CHANGES
  • eslint-plugin: ban-types no longer reports object by default
typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v5.10.2

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.10.1

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.10.0

Compare Source

Features
  • rename experimental-utils to utils and make experimental-utils an alias to the new package (#​4172) (1d55a75)

5.9.1 (2022-01-10)

Note: Version bump only for package @​typescript-eslint/parser

v5.9.1

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.9.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

5.8.1 (2021-12-27)

Note: Version bump only for package @​typescript-eslint/parser

v5.8.1

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.8.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.7.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.6.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.5.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.4.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

5.3.1 (2021-11-08)

Note: Version bump only for package @​typescript-eslint/parser

v5.3.1

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.3.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.2.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.1.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.0.0

Compare Source

Features
eslint/eslint

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 PR 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 ([#​1

Configuration

📅 Schedule: "before 3am on the first day of the month" in timezone UTC.

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

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added [Status] Needs Review To request a review from Crew. Label will be renamed soon. [Type] Janitorial labels Nov 1, 2021
@matticbot
Copy link
Contributor

Caution: This PR has changes that must be merged to WordPress.com
Hello renovate[bot]! These changes need to be synced to WordPress.com - If you 're an a11n, please commandeer and confirm D69363-code works as expected before merging this PR. Once this PR is merged, please commit the changes to WP.com. Thank you!
This revision will be updated with each commit to this PR

@github-actions github-actions bot added [JS Package] Eslint Changed [Package] Jitm [Package] Lazy Images [Plugin] Boost A feature to speed up the site and improve performance. [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ E2E Tests RNA labels Nov 1, 2021
@anomiex anomiex added [Status] Blocked / Hold and removed [Status] Needs Review To request a review from Crew. Label will be renamed soon. labels Nov 1, 2021
@renovate renovate bot force-pushed the renovate/major-eslint-packages branch from 9f72d64 to 193a3e2 Compare December 1, 2021 00:33
@renovate renovate bot force-pushed the renovate/major-eslint-packages branch from 9ea6280 to 902fd7a Compare January 1, 2022 01:02
@renovate renovate bot force-pushed the renovate/major-eslint-packages branch from b87f813 to e40a68b Compare February 1, 2022 01:15
@github-actions github-actions bot added [Package] My Jetpack [Plugin] Beta For serving live branches and the beta versions. https://github.com/automattic/jetpack-beta labels Feb 1, 2022
@anomiex anomiex merged commit 2922c67 into master Feb 1, 2022
@anomiex anomiex deleted the renovate/major-eslint-packages branch February 1, 2022 21:09
@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2022

Great news! One last step: head over to your WordPress.com diff, D69363-code, and commit it.
Once you've done so, come back to this PR and add a comment with your changeset ID.

Thank you!

@anomiex
Copy link
Contributor

anomiex commented Feb 1, 2022

r239372-wpcom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E2E Tests [JS Package] Eslint Changed [JS Package] Eslint Config Target Es [Package] Jitm [Package] Lazy Images [Package] My Jetpack [Plugin] Beta For serving live branches and the beta versions. https://github.com/automattic/jetpack-beta [Plugin] Boost A feature to speed up the site and improve performance. [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ RNA [Status] Blocked / Hold Touches WP.com Files [Type] Janitorial
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants