@adbayb/stack 2.40.0-next-6049a9b → 2.40.0-next-4c238fc
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/configs/oxlint/index.ts +13 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/configs/oxlint/index.ts
CHANGED
|
@@ -33,6 +33,7 @@ export default defineConfig({
|
|
|
33
33
|
nursery: "error",
|
|
34
34
|
pedantic: "error",
|
|
35
35
|
perf: "error",
|
|
36
|
+
restriction: "error",
|
|
36
37
|
style: "error",
|
|
37
38
|
suspicious: "error",
|
|
38
39
|
},
|
|
@@ -55,6 +56,7 @@ export default defineConfig({
|
|
|
55
56
|
],
|
|
56
57
|
rules: {
|
|
57
58
|
"import/no-anonymous-default-export": "off",
|
|
59
|
+
"import/no-default-export": "off",
|
|
58
60
|
},
|
|
59
61
|
},
|
|
60
62
|
],
|
|
@@ -79,8 +81,10 @@ export default defineConfig({
|
|
|
79
81
|
"import/exports-last": "off",
|
|
80
82
|
"import/group-exports": "off",
|
|
81
83
|
"import/max-dependencies": "off",
|
|
84
|
+
"import/no-dynamic-require": "off",
|
|
82
85
|
"import/no-named-export": "off",
|
|
83
86
|
"import/no-nodejs-modules": "off",
|
|
87
|
+
"import/no-relative-parent-imports": "off",
|
|
84
88
|
"import/prefer-default-export": "off",
|
|
85
89
|
"jsdoc/require-param-type": "off",
|
|
86
90
|
"jsdoc/require-property-type": "off",
|
|
@@ -89,10 +93,16 @@ export default defineConfig({
|
|
|
89
93
|
"max-lines": "off",
|
|
90
94
|
"max-lines-per-function": "off",
|
|
91
95
|
"max-statements": "off",
|
|
96
|
+
"no-async-await": "off",
|
|
92
97
|
"no-continue": "off",
|
|
93
98
|
"no-magic-numbers": "off",
|
|
99
|
+
"no-optional-chaining": "off",
|
|
100
|
+
"no-rest-spread-properties": "off",
|
|
94
101
|
"no-ternary": "off",
|
|
95
102
|
"no-undef": "off",
|
|
103
|
+
"no-undefined": "off",
|
|
104
|
+
"no-use-before-define": "off",
|
|
105
|
+
"no-void": "off",
|
|
96
106
|
"no-warning-comments": "off",
|
|
97
107
|
"node/no-sync": "off",
|
|
98
108
|
"prefer-named-capture-group": "off",
|
|
@@ -102,7 +112,10 @@ export default defineConfig({
|
|
|
102
112
|
"strict-boolean-expressions": "off",
|
|
103
113
|
"typescript/consistent-return": "off",
|
|
104
114
|
"typescript/consistent-type-definitions": ["error", "type"],
|
|
115
|
+
"typescript/explicit-function-return-type": "off",
|
|
116
|
+
"typescript/explicit-module-boundary-types": "off",
|
|
105
117
|
"typescript/no-unsafe-type-assertion": "off",
|
|
106
118
|
"unicorn/filename-case": "off",
|
|
119
|
+
"unicorn/import-style": "off",
|
|
107
120
|
},
|
|
108
121
|
});
|
package/dist/index.js
CHANGED