fix(deps): update eslint rule and plugin updates #2561
ci.yml
on: pull_request
install
10s
test
44s
check-workflow-files
4s
check-renovate-changefile
11s
check-beachball-changefile
13s
publish
0s
Annotations
2 errors and 5 warnings
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
@@ -1181,11 +1181,11 @@
1,
],
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": [
0,
],
- "@eslint-react/hooks-extra/no-redundant-custom-hook": [
+ "@eslint-react/hooks-extra/no-useless-custom-hooks": [
1,
],
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": [
1,
],
@@ -1242,10 +1242,13 @@
2,
],
"@eslint-react/no-component-will-update": [
2,
],
+ "@eslint-react/no-context-provider": [
+ 1,
+ ],
"@eslint-react/no-create-ref": [
2,
],
"@eslint-react/no-default-props": [
2,
@@ -1254,10 +1257,16 @@
2,
],
"@eslint-react/no-duplicate-key": [
2,
],
+ "@eslint-react/no-forward-ref": [
+ 1,
+ ],
+ "@eslint-react/no-implicit-key": [
+ 1,
+ ],
"@eslint-react/no-missing-key": [
2,
],
"@eslint-react/no-nested-components": [
2,
@@ -2683,20 +2692,16 @@
"typescript": {
"alwaysTryTypes": true,
},
},
"react-x": {
- "additionalComponents": [
- {
- "as": "a",
- "attributes": [
- {
- "as": "href",
- "name": "to",
- },
- ],
- "name": "Link",
- },
- ],
+ "additionalHooks": {
+ "useLayoutEffect": [
+ "useIsomorphicLayoutEffect",
+ ],
+ },
+ "polymorphicPropName": "as",
+ "strictImportCheck": false,
+ "version": "detect",
},
},
}
❯ presets.test.mts:46:10
|
test
Process completed with exit code 1.
|
install
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
check-workflow-files
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
check-renovate-changefile
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
check-beachball-changefile
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|