-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.eslintrc.json
41 lines (41 loc) · 921 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
36
37
38
39
40
41
{
"extends": ["airbnb-base", "eslint:recommended", "plugin:import/recommended"],
"root": true,
"plugins": ["import", "svelte3"],
"overrides": [
{
"files": ["**/*.svelte"],
"processor": "svelte3/svelte3"
}
],
"rules": {
"indent": ["warn", 2],
"no-unused-vars": ["off", { "vars": "local" }],
"import/no-unresolved": "off",
"import/extensions": "off",
"prefer-const": "warn",
"quotes": ["warn", "single"],
"space-infix-ops": "warn",
"no-undef": "off",
"import/no-extraneous-dependencies": "off",
"global-require": "off"
},
"env": {
"es6": true,
"browser": true,
"webextensions": true,
"node": true
},
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"fetch": false
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2019,
"sourceType": "module"
}
}