@conorroberts/utils 0.0.89 → 0.0.90
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/dist/oxlint/config.json +77 -69
- package/package.json +1 -1
package/dist/oxlint/config.json
CHANGED
|
@@ -1,70 +1,78 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
2
|
+
"$schema": "../node_modules/oxlint/configuration_schema.json",
|
|
3
|
+
"plugins": [
|
|
4
|
+
"import",
|
|
5
|
+
"typescript",
|
|
6
|
+
"unicorn",
|
|
7
|
+
"react",
|
|
8
|
+
"react-perf",
|
|
9
|
+
"oxc",
|
|
10
|
+
"node",
|
|
11
|
+
"promise"
|
|
12
|
+
],
|
|
13
|
+
"env": {
|
|
14
|
+
"browser": true
|
|
15
|
+
},
|
|
16
|
+
"ignorePatterns": [
|
|
17
|
+
"packages/*/src/routeTree.gen.ts",
|
|
18
|
+
"packages/*/.output",
|
|
19
|
+
"packages/*/vite-plugins",
|
|
20
|
+
"packages/*/dist",
|
|
21
|
+
"packages/common/src/oxlint-plugins",
|
|
22
|
+
"**/node_modules"
|
|
23
|
+
],
|
|
24
|
+
"settings": {},
|
|
25
|
+
"rules": {
|
|
26
|
+
"@typescript-eslint/ban-ts-comment": "error",
|
|
27
|
+
"@typescript-eslint/no-floating-promises": "off",
|
|
28
|
+
"@typescript-eslint/no-explicit-any": "error",
|
|
29
|
+
"@typescript-eslint/no-non-null-assertion": "error",
|
|
30
|
+
"react/button-has-type": "deny",
|
|
31
|
+
"react/rules-of-hooks": "deny",
|
|
32
|
+
"no-nested-ternary": "deny",
|
|
33
|
+
"react/exhaustive-deps": "deny",
|
|
34
|
+
"react/no-unstable-nested-components": "error",
|
|
35
|
+
"typescript/no-floating-promises": "off",
|
|
36
|
+
"no-unused-vars": "warn",
|
|
37
|
+
"typescript/no-import-type-side-effects": "deny",
|
|
38
|
+
"@typescript-eslint/consistent-type-imports": "deny",
|
|
39
|
+
"conorroberts/no-inline-components": "error",
|
|
40
|
+
"conorroberts/no-switch": "error",
|
|
41
|
+
"conorroberts/no-delete": "error",
|
|
42
|
+
"conorroberts/no-top-level-let": "error",
|
|
43
|
+
"conorroberts/no-finally": "error",
|
|
44
|
+
"conorroberts/no-react-namespace": "error",
|
|
45
|
+
"conorroberts/no-type-cast": "warn",
|
|
46
|
+
"conorroberts/no-emoji": "error",
|
|
47
|
+
"conorroberts/no-component-date-instantiation": "warn",
|
|
48
|
+
"conorroberts/no-component-pure-functions": "warn",
|
|
49
|
+
"conorroberts/no-nested-conditionals": "error",
|
|
50
|
+
"conorroberts/no-nested-pure-functions": "error",
|
|
51
|
+
"conorroberts/jsx-component-pascal-case": "error",
|
|
52
|
+
"conorroberts/pretty-props": "error",
|
|
53
|
+
"conorroberts/no-array-type": "error",
|
|
54
|
+
"conorroberts/no-iife": "error",
|
|
55
|
+
"conorroberts/no-promise-then": "error",
|
|
56
|
+
"react/self-closing-comp": [
|
|
57
|
+
"deny",
|
|
58
|
+
{
|
|
59
|
+
"html": false
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"overrides": [
|
|
64
|
+
{
|
|
65
|
+
"files": [
|
|
66
|
+
"packages/**/*.test.ts",
|
|
67
|
+
"packages/**/*.test.tsx",
|
|
68
|
+
"packages/**/*.spec.ts",
|
|
69
|
+
"packages/**/*.spec.tsx",
|
|
70
|
+
"packages/**/__tests__/**"
|
|
71
|
+
],
|
|
72
|
+
"rules": {
|
|
73
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
74
|
+
"conorroberts/no-type-cast": "off"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|