@resolid/config 5.3.8 → 5.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oxlint/react.js +13 -14
- package/package.json +13 -13
package/oxlint/react.js
CHANGED
|
@@ -22,14 +22,11 @@ export default defineConfig({
|
|
|
22
22
|
"react/no-unsafe": "off",
|
|
23
23
|
"react/react-in-jsx-scope": "off",
|
|
24
24
|
"react/require-render-return": "error",
|
|
25
|
-
"react/rules-of-hooks": "error",
|
|
26
25
|
"react/self-closing-comp": "error",
|
|
27
26
|
"react/jsx-boolean-value": "error",
|
|
28
27
|
"react/jsx-pascal-case": "error",
|
|
29
28
|
"react/jsx-curly-brace-presence": "warn",
|
|
30
29
|
"react/jsx-no-useless-fragment": "warn",
|
|
31
|
-
|
|
32
|
-
"react/exhaustive-deps": ["warn", { additionalHooks: "useIsomorphicEffect" }],
|
|
33
30
|
"react/only-export-components": [
|
|
34
31
|
"warn",
|
|
35
32
|
{
|
|
@@ -53,23 +50,25 @@ export default defineConfig({
|
|
|
53
50
|
},
|
|
54
51
|
],
|
|
55
52
|
|
|
53
|
+
"react/rules-of-hooks": "error",
|
|
54
|
+
"react/exhaustive-deps": ["warn", { additionalHooks: "useIsomorphicEffect" }],
|
|
55
|
+
|
|
56
56
|
// react-hooks-js Recommended
|
|
57
|
-
"react-hooks-js/
|
|
58
|
-
"react-hooks-js/
|
|
59
|
-
"react-hooks-js/
|
|
60
|
-
"react-hooks-js/component-hook-factories": "error",
|
|
61
|
-
"react-hooks-js/preserve-manual-memoization": "error",
|
|
62
|
-
"react-hooks-js/incompatible-library": "error",
|
|
63
|
-
"react-hooks-js/immutability": "error",
|
|
57
|
+
"react-hooks-js/config": "error",
|
|
58
|
+
"react-hooks-js/error-boundaries": "error",
|
|
59
|
+
"react-hooks-js/gating": "error",
|
|
64
60
|
"react-hooks-js/globals": "error",
|
|
61
|
+
"react-hooks-js/immutability": "error",
|
|
62
|
+
"react-hooks-js/preserve-manual-memoization": "error",
|
|
63
|
+
"react-hooks-js/purity": "error",
|
|
65
64
|
"react-hooks-js/refs": "error",
|
|
66
65
|
"react-hooks-js/set-state-in-effect": "error",
|
|
67
|
-
"react-hooks-js/error-boundaries": "error",
|
|
68
|
-
"react-hooks-js/purity": "error",
|
|
69
66
|
"react-hooks-js/set-state-in-render": "error",
|
|
67
|
+
"react-hooks-js/static-components": "error",
|
|
70
68
|
"react-hooks-js/unsupported-syntax": "error",
|
|
71
|
-
"react-hooks-js/
|
|
72
|
-
"react-hooks-js/
|
|
69
|
+
"react-hooks-js/use-memo": "error",
|
|
70
|
+
"react-hooks-js/void-use-memo": "error",
|
|
71
|
+
"react-hooks-js/incompatible-library": "error",
|
|
73
72
|
|
|
74
73
|
// react-you-might-not-need-an-effect-js Recommended
|
|
75
74
|
"react-you-might-not-need-an-effect-js/no-empty-effect": "warn",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@resolid/config",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.10",
|
|
4
4
|
"description": "Oxlint and Typescript config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"oxfmt",
|
|
@@ -38,25 +38,25 @@
|
|
|
38
38
|
"provenance": true
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@changesets/cli": "^2.
|
|
41
|
+
"@changesets/cli": "^2.31.0",
|
|
42
42
|
"@commitlint/cli": "^20.5.0",
|
|
43
43
|
"@commitlint/config-conventional": "^20.5.0",
|
|
44
44
|
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
|
|
45
|
-
"eslint-plugin-react-hooks": "^7.
|
|
45
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
46
46
|
"eslint-plugin-react-you-might-not-need-an-effect": "^0.9.3",
|
|
47
|
-
"lefthook": "^2.1.
|
|
48
|
-
"oxfmt": "^0.
|
|
49
|
-
"oxlint": "^1.
|
|
50
|
-
"oxlint-tsgolint": "^0.
|
|
51
|
-
"typescript": "^6.0.
|
|
47
|
+
"lefthook": "^2.1.6",
|
|
48
|
+
"oxfmt": "^0.46.0",
|
|
49
|
+
"oxlint": "^1.61.0",
|
|
50
|
+
"oxlint-tsgolint": "^0.21.1",
|
|
51
|
+
"typescript": "^6.0.3"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"eslint-plugin-react-hooks": "^7.
|
|
54
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
55
55
|
"eslint-plugin-react-you-might-not-need-an-effect": "^0.9.3",
|
|
56
|
-
"oxfmt": "^0.
|
|
57
|
-
"oxlint": "^1.
|
|
58
|
-
"oxlint-tsgolint": "^0.
|
|
59
|
-
"typescript": "^6.0.
|
|
56
|
+
"oxfmt": "^0.46.0",
|
|
57
|
+
"oxlint": "^1.61.0",
|
|
58
|
+
"oxlint-tsgolint": "^0.21.1",
|
|
59
|
+
"typescript": "^6.0.3"
|
|
60
60
|
},
|
|
61
61
|
"peerDependenciesMeta": {
|
|
62
62
|
"typescript": {
|