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
738 B
31 lines
738 B
|
11 months ago
|
module.exports = {
|
||
|
|
root: true,
|
||
|
|
env: {
|
||
|
|
node: true,
|
||
|
|
},
|
||
|
|
extends: [
|
||
|
|
"eslint:recommended",
|
||
|
|
"plugin:@vue/typescript/recommended",
|
||
|
|
"plugin:vue/vue3-recommended",
|
||
|
|
"plugin:prettier/recommended",
|
||
|
|
],
|
||
|
|
parserOptions: {
|
||
|
|
parser: "@typescript-eslint/parser",
|
||
|
|
},
|
||
|
|
rules: {
|
||
|
|
"vue/multi-word-component-names": "off",
|
||
|
|
"vue/comment-directive": "off",
|
||
|
|
"vue/no-v-html": "off",
|
||
|
|
"no-console": process.env.NODE_ENV === "prod" ? "warn" : "off",
|
||
|
|
"no-debugger": process.env.NODE_ENV === "prod" ? "warn" : "off",
|
||
|
|
"vue/no-deprecated-slot-attribute": "off",
|
||
|
|
"@typescript-eslint/no-explicit-any": "off",
|
||
|
|
"prettier/prettier": [
|
||
|
|
"error",
|
||
|
|
{
|
||
|
|
endOfLine: "auto",
|
||
|
|
},
|
||
|
|
],
|
||
|
|
},
|
||
|
|
};
|