菜大王uniapp开发
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
610 B

// eslint.config.mjs
import antfu from "@antfu/eslint-config";
export default antfu({
stylistic: {
quotes: "double",
semi: true,
},
vue: true,
languageOptions: {
globals: {
uni: "readonly",
getCurrentPages: "readonly",
getApp: "readonly",
},
},
rules: {
"max-len": ["error", { code: 100 }],
"style/no-tabs": ["off"],
"vue/eqeqeq": ["off"],
"vue/require-prop-type-constructor": ["off"],
},
ignores: [
"uni_modules/**/*",
"main.js",
"wxcomponents/**/*",
"unpackage/**/*",
"uniCloud-aliyun/**/*",
"utils/css.js",
],
});