-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.js
52 lines (52 loc) · 1.28 KB
/
.eslintrc.js
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
49
50
51
52
module.exports = {
root: true,
env: {
node: true,
browser: true,
es2021: true,
},
extends: ["plugin:vue/vue3-essential", "eslint:recommended"],
overrides: [
{
files: ["frontend/**/*.{js,vue}"],
env: {
browser: true,
},
extends: ["plugin:vue/vue3-essential"],
},
{
files: ["backend/**/*.js"],
env: {
node: true,
},
},
],
parserOptions: {
ecmaVersion: 2022,
parser: "@babel/eslint-parser",
requireConfigFile: false,
sourceType: "module",
},
rules: {
"vue/no-unused-vars": "off",
"no-console": "off",
"no-debugger": "off",
"no-unused-vars": "off",
"no-undef": "off",
"vue/no-multiple-template-root": "off",
"vue/no-v-model-argument": "off",
"vue/html-indent": "off",
"vue/html-self-closing": "off",
"vue/max-attributes-per-line": "off",
"vue/require-default-prop": "off",
"vue/require-prop-types": "off",
"vue/singleline-html-element-content-newline": "off",
"vue/html-closing-bracket-newline": "off",
"vue/valid-v-slot": "off",
"vue/order-in-components": "off",
"vue/attributes-order": "off",
"vue/attribute-hyphenation": "off",
"vue/first-attribute-linebreak": "off",
"vue/require-explicit-emits": "off",
},
};