@adbayb/stack 2.40.0-next-a52f45f → 2.40.0-next-f1351a6
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 +2 -0
- package/dist/configs/oxlint.d.ts +4 -0
- package/dist/configs/oxlint.js +2 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/configs/oxlint/index.ts
CHANGED
|
@@ -262,11 +262,13 @@ const config = defineConfig({
|
|
|
262
262
|
"no-warning-comments": "off",
|
|
263
263
|
"node/no-process-env": "off",
|
|
264
264
|
"node/no-sync": "off",
|
|
265
|
+
"node/no-top-level-await": ["error", { ignoreBin: true }],
|
|
265
266
|
"oxc/no-async-endpoint-handlers": "off",
|
|
266
267
|
"perfectionist/sort-imports": "off", // Already supported by Oxfmt
|
|
267
268
|
"perfectionist/sort-named-imports": "off", // Already supported by eslint/sort-imports
|
|
268
269
|
"prefer-named-capture-group": "off",
|
|
269
270
|
"prefer-readonly-parameter-types": "off",
|
|
271
|
+
"react/function-component-definition": "off",
|
|
270
272
|
"react/jsx-filename-extension": ["error", { extensions: ["jsx", "tsx"] }],
|
|
271
273
|
"react/jsx-max-depth": "off",
|
|
272
274
|
"react/jsx-no-literals": "off",
|
package/dist/configs/oxlint.d.ts
CHANGED
|
@@ -215,11 +215,15 @@ declare const config: {
|
|
|
215
215
|
"no-warning-comments": "off";
|
|
216
216
|
"node/no-process-env": "off";
|
|
217
217
|
"node/no-sync": "off";
|
|
218
|
+
"node/no-top-level-await": ["error", {
|
|
219
|
+
ignoreBin: true;
|
|
220
|
+
}];
|
|
218
221
|
"oxc/no-async-endpoint-handlers": "off";
|
|
219
222
|
"perfectionist/sort-imports": "off";
|
|
220
223
|
"perfectionist/sort-named-imports": "off";
|
|
221
224
|
"prefer-named-capture-group": "off";
|
|
222
225
|
"prefer-readonly-parameter-types": "off";
|
|
226
|
+
"react/function-component-definition": "off";
|
|
223
227
|
"react/jsx-filename-extension": ["error", {
|
|
224
228
|
extensions: string[];
|
|
225
229
|
}];
|
package/dist/configs/oxlint.js
CHANGED
|
@@ -270,11 +270,13 @@ const config = defineConfig({
|
|
|
270
270
|
"no-warning-comments": "off",
|
|
271
271
|
"node/no-process-env": "off",
|
|
272
272
|
"node/no-sync": "off",
|
|
273
|
+
"node/no-top-level-await": ["error", { ignoreBin: true }],
|
|
273
274
|
"oxc/no-async-endpoint-handlers": "off",
|
|
274
275
|
"perfectionist/sort-imports": "off",
|
|
275
276
|
"perfectionist/sort-named-imports": "off",
|
|
276
277
|
"prefer-named-capture-group": "off",
|
|
277
278
|
"prefer-readonly-parameter-types": "off",
|
|
279
|
+
"react/function-component-definition": "off",
|
|
278
280
|
"react/jsx-filename-extension": ["error", { extensions: ["jsx", "tsx"] }],
|
|
279
281
|
"react/jsx-max-depth": "off",
|
|
280
282
|
"react/jsx-no-literals": "off",
|
package/dist/index.js
CHANGED