Skip to content

fix(deps): update eslint rule and plugin updates #2403

fix(deps): update eslint rule and plugin updates

fix(deps): update eslint rule and plugin updates #2403

Triggered via pull request November 25, 2024 19:20
Status Failure
Total duration 1m 20s
Artifacts

ci.yml

on: pull_request
test
42s
test
check-workflow-files
9s
check-workflow-files
check-renovate-changefile
12s
check-renovate-changefile
check-beachball-changefile
17s
check-beachball-changefile
publish
0s
publish
Fit to window
Zoom out
Zoom in

Annotations

3 errors
presets.test.mts > Resolved config matches snapshot > typescript-react.tsx: specs/eslint-configs/presets.test.mts#L46
Error: Snapshot `Resolved config matches snapshot > typescript-react.tsx 1` mismatched - Expected + Received @@ -1174,10 +1174,25 @@ 1, ], "@eslint-react/ensure-forward-ref-using-ref": [ 1, ], + "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": [ + 1, + ], + "@eslint-react/hooks-extra/no-redundant-custom-hook": [ + 1, + ], + "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": [ + 1, + ], + "@eslint-react/jsx-no-duplicate-props": [ + 1, + ], + "@eslint-react/jsx-uses-vars": [ + 1, + ], "@eslint-react/naming-convention/component-name": [ 2, "PascalCase", ], "@eslint-react/naming-convention/filename": [ @@ -1239,11 +1254,11 @@ ], "@eslint-react/no-missing-key": [ 2, ], "@eslint-react/no-nested-components": [ - 1, + 2, ], "@eslint-react/no-prop-types": [ 2, ], "@eslint-react/no-redundant-should-component-update": [ @@ -1269,24 +1284,36 @@ ], "@eslint-react/no-unsafe-component-will-update": [ 1, ], "@eslint-react/no-unstable-context-value": [ - 2, + 1, ], "@eslint-react/no-unstable-default-props": [ - 2, + 1, ], "@eslint-react/no-unused-class-component-members": [ 1, ], "@eslint-react/no-unused-state": [ 1, ], "@eslint-react/no-useless-fragment": [ 2, + ], + "@eslint-react/web-api/no-leaked-event-listener": [ + 1, + ], + "@eslint-react/web-api/no-leaked-interval": [ + 1, ], + "@eslint-react/web-api/no-leaked-resize-observer": [ + 1, + ], + "@eslint-react/web-api/no-leaked-timeout": [ + 1, + ], "@rightcapital/jsx-no-unused-expressions": [ 2, ], "@rightcapital/no-explicit-type-on-function-component-identifier": [ 2, @@ -1969,11 +1996,11 @@ ], "no-case-declarations": [ 2, ], "no-class-assign": [ - 2, + 0, ], "no-compare-neg-zero": [ 2, ], "no-cond-assign": [ @@ -2648,16 +2675,20 @@ "typescript": { "alwaysTryTypes": true, }, }, "react-x": { - "additionalHooks": { - "useLayoutEffect": [ - "useIsomorphicLayoutEffect", - ], - }, - "polymorphicPropName": "as", - "skipImportCheck": true, - "version": "detect", + "additionalComponents": [ + { + "as": "a", + "attributes": [ + { + "as": "href", + "name": "to", + }, + ], + "name": "Link", + }, + ], }, }, } ❯ presets.test.mts:46:10
presets.test.mts > Resolved config matches snapshot > typescript.ts: specs/eslint-configs/presets.test.mts#L46
Error: Snapshot `Resolved config matches snapshot > typescript.ts 1` mismatched - Expected + Received @@ -465,11 +465,11 @@ ], "no-case-declarations": [ 2, ], "no-class-assign": [ - 2, + 0, ], "no-compare-neg-zero": [ 2, ], "no-cond-assign": [ ❯ presets.test.mts:46:10
test
Process completed with exit code 1.