forked from OpenLitterMap/openlittermap-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
35 lines (35 loc) · 967 Bytes
/
.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
{
"env": {
"browser": true,
"es6": true
},
"extends": ["eslint:recommended", "plugin:vue/vue3-recommended"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"plugins": ["vue"],
"parser": "vue-eslint-parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"no-console": "warn",
"semi": [
"error",
"always",
{
"omitLastInOneLineBlock": true
}
],
"no-case-declarations": 0,
"space-before-function-paren": ["error", "always"],
"indent": ["warn", 4],
"max-len": ["error", { "code": 120, "ignoreUrls": true, "ignoreComments": true }],
"vue/html-indent": ["error", 4],
"vue/max-attributes-per-line": "off",
"quotes": ["error", "single"],
"brace-style": ["error", "allman"]
}
}