Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

chore(deps): update eslint (major) #2229

Merged
merged 1 commit into from
Aug 22, 2023
Merged

chore(deps): update eslint (major) #2229

merged 1 commit into from
Aug 22, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 6, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-config-prettier 8.9.0 -> 9.0.0 age adoption passing confidence
eslint-plugin-testing-library 5.11.0 -> 6.0.0 age adoption passing confidence

Release Notes

prettier/eslint-config-prettier (eslint-config-prettier)

v9.0.0

Compare Source

  • Added: The CLI helper tool now works with eslint.config.js (flat config). Just like ESLint itself, the CLI tool automatically first tries eslint.config.js and then eslintrc, and you can force which one to use by setting the [ESLINT_USE_FLAT_CONFIG] environment variable. Note that the config of eslint-config-prettier has always been compatible with eslint.config.js (flat config) – it was just the CLI tool that needed updating. On top of that, the docs have been updated to mention how to use both eslint.config.js (flat config) and eslintrc, and the tests now test both config systems.
  • Changed: [unicode-bom] is no longer turned off. Prettier preserves the BOM if you have one, and does not add one if missing. It was wrong of eslint-config-prettier to disable that rule. If you get ESLint errors after upgrading, either add "unicode-bom": "off" to your config to disable it again, or run ESLint with --fix to fix all files according to the rule (add or remove BOM). Thanks to Nicolas Stepien (@​nstepien)!

v8.10.0

Compare Source

  • Added: [max-statements-per-line]. Thanks to @​Zamiell!
testing-library/eslint-plugin-testing-library (eslint-plugin-testing-library)

v6.0.0

Compare Source

You can follow the migration guide to v6.

BREAKING CHANGES
  • await-async-query: await-async-query is now called await-async-queries
  • no-await-sync-events: no-await-sync-events is now enabled by default in the DOM, Angular & React configs
  • no-await-sync-query: no-await-sync-query is now called no-await-sync-queries
  • no-debugging-utils: no-debugging-utils now enables all debug methods in all configs by default
  • no-node-access: no-node-access is now enabled by default in the DOM config
  • await-fire-event: await-fire-event is now called await-async-event
  • no-global-regexp-flag-in-query: no-global-regexp-flag-in-query is now enabled by default in all configs
  • no-manual-cleanup: no-manual-cleanup is now enabled by default in the React & Vue configs
  • no-render-in-setup: no-render-in-setup is now called no-render-in-lifecycle
  • prefer-wait-for: prefer-wait-for is now removed
Bug Fixes
Features
  • await-async-event: add basic fixer (#​656) (b4b5394)
  • await-async-query: rename to await-async-queries (#​665) (c1803df)
  • await-fire-event: rename to await-async-event + add support for user-event (#​652) (b4ce9bb)
  • no-await-sync-events: add to DOM, Angular & React configs by default (#​667) (afce5ea)
  • no-await-sync-query: rename to no-await-sync-queries (#​666) (7ed3da8)
  • no-debugging-utils: enable all debug methods in all configs by default (#​663) (e394ce0)
  • no-debugging-utils: warn instead of error in all configs (#​662) (8063f8f)
  • no-global-regexp-flag-in-query: add to all configs by default (#​660) (c76a7bf)
  • no-manual-cleanup: add to React & Vue configs by default (#​659) (8f6ebf5)
  • no-node-access: add to DOM config by default (#​661) (8dfe155)
  • no-render-in-setup: rename to no-render-in-lifecycle (#​649) (9acba43)
  • prefer-wait-for: remove rule (#​648) (20f23ad)

v5.11.1

Compare Source

Bug Fixes
  • prefer-presence-queries: ignore getBy* inside within on absence queries (#​740) (b75dc73)

Configuration

📅 Schedule: Branch creation - "before 6am" (UTC), 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.

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


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot requested a review from a team August 6, 2023 04:41
@codecov
Copy link

codecov bot commented Aug 9, 2023

Codecov Report

Merging #2229 (5cd3034) into main (01c4547) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2229   +/-   ##
=======================================
  Coverage   72.64%   72.64%           
=======================================
  Files          88       88           
  Lines        2968     2968           
  Branches      696      696           
=======================================
  Hits         2156     2156           
  Misses        776      776           
  Partials       36       36           

@renovate renovate bot changed the title chore(deps): update dependency eslint-config-prettier to v9 chore(deps): update eslint (major) Aug 12, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 22, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
66.7% 66.7% Duplication

@lordrip lordrip merged commit 11e1d65 into main Aug 22, 2023
15 checks passed
@lordrip lordrip deleted the renovate/major-eslint branch August 22, 2023 14:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant