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.
24 lines
671 B
24 lines
671 B
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
browser: true
|
|
},
|
|
extends: ["plugin:vue/essential", "@vue/standard"],
|
|
rules: {
|
|
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
|
|
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
|
|
indent: ["error", 4, { SwitchCase: 1 }],
|
|
quotes: ["error", "single"],
|
|
semi: ["error", "always"],
|
|
"no-new": "off",
|
|
"no-unused-vars": "off",
|
|
"no-tabs": "off",
|
|
"no-mixed-spaces-and-tabs": "off",
|
|
"x-invalid-end-tag": "off",
|
|
"vue/no-parsing-error": [2, { "x-invalid-end-tag": false }]
|
|
},
|
|
parserOptions: {
|
|
parser: "babel-eslint"
|
|
}
|
|
};
|
|
|