forked from mainsail-crew/mainsail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
40 lines (40 loc) · 1.04 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
40
{
"root": true,
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": ["plugin:jsonc/base", "plugin:vue/recommended", "eslint:recommended", "@vue/typescript", "prettier"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"rules": {
"vue/no-v-html": 0,
"vue/component-tags-order": 0,
"vue/no-v-text-v-html-on-component": 0,
"vue/valid-v-slot": [
"error",
{
"allowModifiers": true
}
]
},
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"sourceType": "module"
},
"plugins": ["vue"],
"overrides": [
{
"files": "src/locales/*.json",
"parser": "jsonc-eslint-parser",
"rules": {
"jsonc/no-dupe-keys": "error",
"jsonc/sort-keys": ["error", "asc", { "caseSensitive": false, "natural": false }]
}
}
]
}