form-js
form-js copied to clipboard
chore: update eslint* dependencies (major)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| eslint (source) | ^8.57.0 -> ^9.0.0 |
||||
| eslint-plugin-bpmn-io | ^1.0.1 -> ^2.0.0 |
||||
| eslint-plugin-react-hooks (source) | ^4.6.2 -> ^5.0.0 |
Release Notes
eslint/eslint (eslint)
v9.12.0
Features
5a6a053feat: update tojitiv2 (#18954) (Arya Emami)17a07fbfeat: Hooks for test cases (RuleTester) (#18771) (Anna Bocharova)2ff0e51feat: Implement alternate config lookup (#18742) (Nicholas C. Zakas)2d17453feat: Implement modified cyclomatic complexity (#18896) (Dmitry Pashkevich)
Bug Fixes
ea380cafix: Upgrade retry to avoid EMFILE errors (#18986) (Nicholas C. Zakas)fdd6319fix: Issues with type definitions (#18940) (Arya Emami)
Documentation
ecbd522docs: Mention code explorer (#18978) (Nicholas C. Zakas)7ea4eccdocs: Clarifying the Use of Meta Objects (#18697) (Amaresh S M)d3e4b2edocs: Clarify how to exclude.jsfiles (#18976) (Milos Djermanovic)57232ffdocs: Mention plugin-kit in language docs (#18973) (Nicholas C. Zakas)b80ed00docs: Update README (GitHub Actions Bot)cb69ab3docs: Update README (GitHub Actions Bot)7fb0d95docs: Update README (GitHub Actions Bot)493348adocs: Update README (GitHub Actions Bot)87a582cdocs: fix typo inid-matchrule (#18944) (Jay)
Chores
555aafdchore: upgrade to@eslint/[email protected](#18987) (Francesco Trotta)873ae60chore: package.json update for @eslint/js release (Jenkins)d0a5414refactor: replace strip-ansi with native module (#18982) (Cristopher)b827029chore: Enable JSON5 linting (#18979) (Milos Djermanovic)8f55ca2chore: Upgrade espree, eslint-visitor-keys, eslint-scope (#18962) (Nicholas C. Zakas)c1a2725chore: update dependency mocha to ^10.7.3 (#18945) (Milos Djermanovic)
v9.11.1
v9.11.0
Features
ec30c73feat: add "eslint/universal" to exportLinter(#18883) (唯然)c591da6feat: Add language to types (#18917) (Nicholas C. Zakas)492eb8ffeat: limit the name given toImportSpecifierinid-length(#18861) (Tanuj Kanti)19c6856feat: Addno-useless-constructorsuggestion (#18799) (Jordan Thomson)a48f8c2feat: add typeFormatterFunction, updateLoadedFormatter(#18872) (Francesco Trotta)
Bug Fixes
5e5f39bfix: add missing types forno-restricted-exportsrule (#18914) (Kristóf Poduszló)8f630ebfix: add missing types forno-param-reassignoptions (#18906) (Kristóf Poduszló)d715781fix: add missing types forno-extra-boolean-castoptions (#18902) (Kristóf Poduszló)2de5742fix: add missing types forno-misleading-character-classoptions (#18905) (Kristóf Poduszló)c153084fix: add missing types forno-implicit-coercionoptions (#18903) (Kristóf Poduszló)fa11b2efix: add missing types forno-empty-functionoptions (#18901) (Kristóf Poduszló)a0deed1fix: add missing types forcamelcaseoptions (#18897) (Kristóf Poduszló)
Documentation
e4e5709docs: correctprefer-object-has-owntype definition comment (#18924) (Nitin Kumar)91cbd18docs: add unicode abbreviations in no-irregular-whitespace rule (#18894) (Alix Royere)59cfc0fdocs: clarifyresultsMetainLoadedFormattertype (#18881) (Milos Djermanovic)adcc50ddocs: Update README (GitHub Actions Bot)4edac1adocs: Update README (GitHub Actions Bot)
Build Related
Chores
ca21a64chore: upgrade @eslint/js@9.11.0 (#18927) (Milos Djermanovic)a10f90achore: package.json update for @eslint/js release (Jenkins)e4e02ccrefactor: Extract processor logic into ProcessorService (#18818) (Nicholas C. Zakas)6d4484dchore: updates for v8.57.1 release (Jenkins)71f37c5refactor: use optional chaining when validating config rules (#18893) (lucasrmendonca)2c2805fchore: Add PR note to all templates (#18892) (Nicholas C. Zakas)7b852cerefactor: useDirectiveclass from@eslint/plugin-kit(#18884) (Milos Djermanovic)d594dddchore: update dependency @eslint/core to ^0.6.0 (#18863) (renovate[bot])78b2421chore: Update change.yml (#18882) (Nicholas C. Zakas)a416f0achore: enable$ExpectTypecomments in .ts files (#18869) (Francesco Trotta)
v9.10.0
v9.9.1
v9.9.0
Features
41d0206feat: Add support for TS config files (#18134) (Arya Emami)3a4eaf9feat: add suggestion torequire-awaitto removeasynckeyword (#18716) (Dave)
Documentation
9fe068cdocs: how to author plugins with configs that extend other configs (#18753) (Alec Gibson)48117b2docs: add version support page in the side navbar (#18738) (Amaresh S M)fec2951docs: add version support page to the dropdown (#18730) (Amaresh S M)38a0661docs: Fix typo (#18735) (Zaina Al Habash)3c32a9edocs: Update yarn command for creating ESLint config (#18739) (Temitope Ogunleye)f9ac978docs: Update README (GitHub Actions Bot)
Chores
461b2c3chore: upgrade to@eslint/[email protected](#18765) (Francesco Trotta)59dba1bchore: package.json update for @eslint/js release (Jenkins)fea8563chore: update dependency @eslint/core to ^0.3.0 (#18724) (renovate[bot])aac191echore: update dependency @eslint/json to ^0.3.0 (#18760) (renovate[bot])b97fa05chore: update wdio dependencies for more stable tests (#18759) (Christian Bromann)
v9.8.0
v9.7.0
Features
7bd9839feat: add support for es2025 duplicate named capturing groups (#18630) (Yosuke Ota)1381394feat: addregexoption inno-restricted-imports(#18622) (Nitin Kumar)
Bug Fixes
Documentation
9f416dbdocs: Add Powered by Algolia label to the search. (#18633) (Amaresh S M)c8d26cbdocs: Open JS Foundation -> OpenJS Foundation (#18649) (Milos Djermanovic)6e79ac7docs:loadESLintdoes not support optioncwd(#18641) (Francesco Trotta)
Chores
793b718chore: upgrade @eslint/js@9.7.0 (#18680) (Francesco Trotta)7ed6f9achore: package.json update for @eslint/js release (Jenkins)7bcda76refactor: Add type references (#18652) (Nicholas C. Zakas)51bf57cchore: add tech sponsors through actions (#18624) (Strek)6320732refactor: don't useparentproperty inNodeEventGenerator(#18653) (Milos Djermanovic)9e6d640refactor: move "Parsing error" prefix adding to Linter (#18650) (Milos Djermanovic)
v9.6.0
v9.5.0
v9.4.0
v9.3.0
v9.2.0
v9.1.1
v9.1.0
v9.0.0
v8.57.1
bpmn-io/eslint-plugin-bpmn-io (eslint-plugin-bpmn-io)
v2.0.2
FIX: fine-tunejsxrules
v2.0.1
FIX: fine-tunemocharules (#21)
v2.0.0
FEAT: migrate to flat config (#19)FEAT: turn into ES moduleFEAT: base ofreact:recommendedandmocha:recommendedconfigsDEPS: requireeslint@9
Breaking Changes
facebook/react (eslint-plugin-react-hooks)
v5.0.0
- New Violations: Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means
_Buttonor_componentare no longer valid. (@kassens) in #25162
- Consider dispatch from
useActionStatestable. (@eps1lon in #29665) - Add support for ESLint v9. (@eps1lon in #28773)
- Accept
asexpression in callback. (@StyleShit in #28202) - Accept
asexpressions in deps array. (@StyleShit in #28189) - Treat
React.use()the same asuse(). (@kassens in #27769) - Move
use()lint to non-experimental. (@kassens in #27768) - Support Flow
asexpressions. (@cpojer in #27590) - Allow
useEffect(fn, undefined). (@kassens in #27525) - Disallow hooks in async functions. (@acdlite in #27045)
- Rename experimental
useEventtouseEffectEvent. (@sebmarkbage in #25881) - Lint for presence of
useEventfunctions in dependency lists. (@poteto in #25512) - Check
useEventreferences instead. (@poteto in #25319) - Update
RulesOfHookswithuseEventrules. (@poteto in #25285)
Configuration
📅 Schedule: Branch creation - "after 10pm,before 5:00am" (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 was generated by Mend Renovate. View the repository job log.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^9.0.0" from the root project
npm ERR! peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/[email protected]
npm ERR! node_modules/@eslint-community/eslint-utils
npm ERR! @eslint-community/eslint-utils@"^4.2.0" from [email protected]
npm ERR! 7 more (eslint-plugin-prettier, eslint-plugin-react, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" from [email protected]
npm ERR! node_modules/eslint-plugin-import
npm ERR! dev eslint-plugin-import@"^2.30.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/eslint
npm ERR! peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" from [email protected]
npm ERR! node_modules/eslint-plugin-import
npm ERR! dev eslint-plugin-import@"^2.30.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2025-01-13T17_23_26_910Z-debug-0.log
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.