import process from "node:process"; import antfu from "@antfu/eslint-config"; export default antfu({ vue: true, typescript: true, jsonc: false, gitignore: true, ignores: [ "ios", "android", "dist", "coverage", "node_modules", ], stylistic: { semi: true, quotes: "double", }, formatters: { css: "prettier", }, parserOptions: { ecmaVersion: 2020, }, rules: { "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", "vue/no-deprecated-slot-attribute": "off", "@typescript-eslint/no-explicit-any": "off", }, });