-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
39 lines (39 loc) · 1.12 KB
/
.eslintrc
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
{
"root": true,
"env": {
"node": true,
"browser": true
},
"extends": [
"eslint:recommended",
"plugin:vue/essential",
"@vue/prettier",
"prettier/vue"
],
"plugins": ["vue", "prettier"],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-console": "error",
"prefer-const": "error",
"prettier/prettier": "error",
// All the rules below needs to be removed upon all fixes are done
"no-unused-vars": "warn",
"no-redeclare": "warn",
"vue/no-unused-components": "warn",
"vue/no-unused-vars": "warn",
"vue/require-v-for-key": "warn",
"vue/no-use-v-if-with-v-for": "warn",
"vue/no-mutating-props": "warn",
"vue/return-in-computed-property": "warn",
"vue/require-valid-default-prop": "warn",
"vue/no-side-effects-in-computed-properties": "warn",
"vue/require-prop-type-constructor": "warn",
"vue/no-duplicate-attributes": "warn"
}
}