-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.eslintrc.json
39 lines (39 loc) · 1.16 KB
/
.eslintrc.json
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
{
"env": {
"browser": true,
"es2021": true,
"jest": true
},
"extends": [
"plugin:vue/vue3-recommended",
"airbnb-base",
"plugin:cypress/recommended"
],
"overrides": [
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"vue"
],
"rules": {
"guard-for-in": ["off"],
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
"lines-between-class-members": ["off"],
"max-classes-per-file": ["off"],
"max-len": ["error", { "code": 130 }],
"no-param-reassign": ["off"],
"no-restricted-syntax": ["error", "WithStatement"],
"prefer-destructuring": ["error", {
"array": false,
"object": true
}],
"vue/multi-word-component-names": ["error", {
"ignores": ["Board", "Game", "Province", "Flag", "Bond", "Player", "Rondel", "About", "Header", "Home", "Import", "Games", "Register", "Rankings", "Rules", "User"]
}],
"vue/no-reserved-component-names": ["off"],
"vue/no-v-html": ["off"]
}
}