fix(deps): update eslint rule and plugin updates #2574
ci.yml
on: pull_request
install
15s
test
40s
check-workflow-files
4s
check-renovate-changefile
15s
check-beachball-changefile
13s
publish
0s
Annotations
3 errors and 5 warnings
check-beachball-changefile
Process completed with exit code 1.
|
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
@@ -1142,13 +1142,10 @@
"reportUnusedDisableDirectives": 1,
},
"parser": "<OMITTED>",
"plugins": "<OMITTED>",
"rules": {
- "@eslint-react/dom/no-children-in-void-dom-elements": [
- 1,
- ],
"@eslint-react/dom/no-dangerously-set-innerhtml": [
1,
],
"@eslint-react/dom/no-dangerously-set-innerhtml-with-children": [
2,
@@ -1173,28 +1170,25 @@
],
"@eslint-react/dom/no-unsafe-iframe-sandbox": [
1,
],
"@eslint-react/dom/no-unsafe-target-blank": [
+ 1,
+ ],
+ "@eslint-react/dom/no-void-elements-with-children": [
1,
],
"@eslint-react/ensure-forward-ref-using-ref": [
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,
- ],
- "@eslint-react/jsx-no-duplicate-props": [
- 1,
- ],
- "@eslint-react/jsx-uses-vars": [
1,
],
"@eslint-react/naming-convention/component-name": [
2,
"PascalCase",
@@ -1242,22 +1236,34 @@
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,
],
"@eslint-react/no-direct-mutation-state": [
2,
],
+ "@eslint-react/no-duplicate-jsx-props": [
+ 1,
+ ],
"@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,
@@ -1301,10 +1307,13 @@
"@eslint-react/no-unused-state": [
1,
],
"@eslint-react/no-useless-fragment": [
2,
+ ],
+ "@eslint-react/use-jsx-vars": [
+ 1,
],
"@eslint-react/web-api/no-leaked-event-listener": [
1,
],
"@eslint-react/web-api/no-leaked-interval": [
@@ -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-beachball-changefile
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
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|