import antfu from "@antfu/eslint-config"; export default antfu({ type: "app", typescript: true, formatters: true, stylistic: { indent: 2, semi: true, quotes: "double", }, }, { rules: { "@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }], "no-unused-vars": "off", "ts/no-redeclare": "off", "ts/consistent-type-definitions": ["error", "type"], "no-console": ["warn"], "antfu/no-top-level-await": ["off"], "node/prefer-global/process": ["off"], "node/no-process-env": ["error"], "perfectionist/sort-imports": ["error", { tsconfigRootDir: ".", }], }, });