We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
defineConfig
1 parent d2e9928 commit e46553cCopy full SHA for e46553c
src/lib/const.ts
@@ -333,6 +333,7 @@ export const defaultJsCode = `
333
*/
334
335
import js from "@eslint/js";
336
+import { defineConfig } from "eslint/config";
337
338
function getConfig() {
339
return {
@@ -342,10 +343,10 @@ function getConfig() {
342
343
};
344
}
345
-export default [
346
- ...js.configs.recommended,
+export default defineConfig([
347
+ js.configs.recommended,
348
getConfig()
-];`.trim();
349
+]);`.trim();
350
351
export const defaultJsonCode = `
352
/**
0 commit comments