@10stars/config 15.0.7 → 15.0.8
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.config.browser.json +5 -42
- package/oxlint.config.node.json +1 -43
- package/package.json +2 -1
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": ["./oxlint.config.common.json"],
|
|
2
3
|
"plugins": ["react", "typescript", "import"],
|
|
4
|
+
"jsPlugins": ["@10stars/oxlint-plugin-react-hooks"],
|
|
3
5
|
"env": {
|
|
4
6
|
"browser": true
|
|
5
7
|
},
|
|
6
8
|
"rules": {
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"import/no-named-as-default": "off",
|
|
10
|
-
"import/no-unresolved": "off",
|
|
11
|
-
"import/order": "off",
|
|
12
|
-
"no-case-declarations": "off",
|
|
13
|
-
"no-console": "off",
|
|
14
|
-
"no-magic-numbers": "off",
|
|
15
|
-
"no-unused-vars": "off",
|
|
16
|
-
"no-useless-constructor": "off",
|
|
9
|
+
"react/exhaustive-deps": "off",
|
|
10
|
+
"@10stars/react-hooks/exhaustive-deps": ["warn", { "ignoreThisDependency": "always" }],
|
|
17
11
|
"react/display-name": "off",
|
|
18
12
|
"react/jsx-no-bind": "warn",
|
|
19
13
|
"react/jsx-no-target-blank": "error",
|
|
@@ -25,37 +19,6 @@
|
|
|
25
19
|
}
|
|
26
20
|
],
|
|
27
21
|
"react/prop-types": "off",
|
|
28
|
-
"react/react-in-jsx-scope": "off"
|
|
29
|
-
"sort-imports": "off",
|
|
30
|
-
"typescript/await-thenable": "off",
|
|
31
|
-
"typescript/ban-ts-comment": "off",
|
|
32
|
-
"typescript/ban-types": "off",
|
|
33
|
-
"typescript/consistent-indexed-object-style": "off",
|
|
34
|
-
"typescript/no-confusing-void-expression": "off",
|
|
35
|
-
"typescript/no-dynamic-delete": "off",
|
|
36
|
-
"typescript/no-empty-function": "off",
|
|
37
|
-
"typescript/no-empty-interface": "off",
|
|
38
|
-
"typescript/no-empty-object-type": "off",
|
|
39
|
-
"typescript/no-explicit-any": "off",
|
|
40
|
-
"typescript/no-invalid-void-type": "off",
|
|
41
|
-
"typescript/no-magic-numbers": "off",
|
|
42
|
-
"typescript/no-non-null-assertion": "off",
|
|
43
|
-
"typescript/no-throw-literal": "off",
|
|
44
|
-
"typescript/no-unnecessary-condition": "off",
|
|
45
|
-
"typescript/no-unnecessary-type-constraint": "off",
|
|
46
|
-
"typescript/no-unnecessary-type-parameters": "off",
|
|
47
|
-
"typescript/no-unsafe-argument": "off",
|
|
48
|
-
"typescript/no-unsafe-assignment": "off",
|
|
49
|
-
"typescript/no-unsafe-call": "off",
|
|
50
|
-
"typescript/no-unsafe-declaration-merging": "off",
|
|
51
|
-
"typescript/no-unsafe-enum-comparison": "off",
|
|
52
|
-
"typescript/no-unsafe-member-access": "off",
|
|
53
|
-
"typescript/no-unsafe-return": "off",
|
|
54
|
-
"typescript/no-unused-vars": "off",
|
|
55
|
-
"typescript/no-useless-constructor": "off",
|
|
56
|
-
"typescript/only-throw-error": "off",
|
|
57
|
-
"typescript/prefer-nullish-coalescing": "off",
|
|
58
|
-
"typescript/unbound-method": "off",
|
|
59
|
-
"typescript/use-unknown-in-catch-callback-variable": "off"
|
|
22
|
+
"react/react-in-jsx-scope": "off"
|
|
60
23
|
}
|
|
61
24
|
}
|
package/oxlint.config.node.json
CHANGED
|
@@ -1,49 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": ["./oxlint.config.common.json"],
|
|
2
3
|
"plugins": ["typescript", "import"],
|
|
3
4
|
"env": {
|
|
4
5
|
"node": true
|
|
5
|
-
},
|
|
6
|
-
"rules": {
|
|
7
|
-
"import/export": "off",
|
|
8
|
-
"import/namespace": "off",
|
|
9
|
-
"import/no-named-as-default": "off",
|
|
10
|
-
"import/no-unresolved": "off",
|
|
11
|
-
"import/order": "off",
|
|
12
|
-
"no-case-declarations": "off",
|
|
13
|
-
"no-console": "off",
|
|
14
|
-
"no-magic-numbers": "off",
|
|
15
|
-
"no-unused-vars": "off",
|
|
16
|
-
"no-useless-constructor": "off",
|
|
17
|
-
"sort-imports": "off",
|
|
18
|
-
"typescript/await-thenable": "off",
|
|
19
|
-
"typescript/ban-ts-comment": "off",
|
|
20
|
-
"typescript/ban-types": "off",
|
|
21
|
-
"typescript/consistent-indexed-object-style": "off",
|
|
22
|
-
"typescript/no-confusing-void-expression": "off",
|
|
23
|
-
"typescript/no-dynamic-delete": "off",
|
|
24
|
-
"typescript/no-empty-function": "off",
|
|
25
|
-
"typescript/no-empty-interface": "off",
|
|
26
|
-
"typescript/no-empty-object-type": "off",
|
|
27
|
-
"typescript/no-explicit-any": "off",
|
|
28
|
-
"typescript/no-invalid-void-type": "off",
|
|
29
|
-
"typescript/no-magic-numbers": "off",
|
|
30
|
-
"typescript/no-non-null-assertion": "off",
|
|
31
|
-
"typescript/no-throw-literal": "off",
|
|
32
|
-
"typescript/no-unnecessary-condition": "off",
|
|
33
|
-
"typescript/no-unnecessary-type-constraint": "off",
|
|
34
|
-
"typescript/no-unnecessary-type-parameters": "off",
|
|
35
|
-
"typescript/no-unsafe-argument": "off",
|
|
36
|
-
"typescript/no-unsafe-assignment": "off",
|
|
37
|
-
"typescript/no-unsafe-call": "off",
|
|
38
|
-
"typescript/no-unsafe-declaration-merging": "off",
|
|
39
|
-
"typescript/no-unsafe-enum-comparison": "off",
|
|
40
|
-
"typescript/no-unsafe-member-access": "off",
|
|
41
|
-
"typescript/no-unsafe-return": "off",
|
|
42
|
-
"typescript/no-unused-vars": "off",
|
|
43
|
-
"typescript/no-useless-constructor": "off",
|
|
44
|
-
"typescript/only-throw-error": "off",
|
|
45
|
-
"typescript/prefer-nullish-coalescing": "off",
|
|
46
|
-
"typescript/unbound-method": "off",
|
|
47
|
-
"typescript/use-unknown-in-catch-callback-variable": "off"
|
|
48
6
|
}
|
|
49
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@10stars/config",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"bin": {
|
|
6
6
|
"config": "./src/index.ts"
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
+
"@10stars/oxlint-plugin-react-hooks": "^1.0.0",
|
|
19
20
|
"@oxc-node/core": "0.0.35",
|
|
20
21
|
"@types/node": "^24.0.0",
|
|
21
22
|
"@types/react": "^19.0.0",
|