Spaces:
Running
Running
File size: 1,052 Bytes
0326339 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
module.exports = {
parser: "vue-eslint-parser",
parserOptions: {
parser: "@typescript-eslint/parser",
sourceType: "module",
},
plugins: ["vue", "@typescript-eslint", "prettier"],
extends: [
"eslint:recommended",
"plugin:vue/vue3-recommended",
"@vue/typescript/recommended",
"plugin:prettier/recommended",
],
rules: {
"prettier/prettier": [
"error",
{
endOfLine: "auto",
},
],
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-namespace": "off",
"vue/no-v-html": "off",
"vue/multi-word-component-names": "off",
"vue/one-component-per-file": "off",
"vue/require-default-prop": "off",
},
ignorePatterns: ["node_modules", "dist", "public"],
overrides: [
{
files: ["./**/*.js"],
env: {
node: true,
},
rules: {
"no-undef": "off",
},
},
{
files: ["*.vue"],
rules: {
"no-undef": "off",
},
},
],
};
|