forked from sugarlabs/musicblocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
39 lines (39 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
{
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"sourceType": "script",
"requireConfigFile": false,
"ecmaFeatures": {
"globalReturn": false
}
},
"extends": ["eslint:recommended", "prettier"],
"rules": {
"no-console": "off",
"no-mixed-spaces-and-tabs": "warn",
"no-unused-vars": "off",
"no-use-before-define": "off",
"prefer-const": "off",
"no-undef": "off",
"no-redeclare": "off",
"indent": ["warn", 4, { "SwitchCase": 1 }],
"quotes": ["warn", "double", { "avoidEscape": true }],
"semi": "error",
"no-trailing-spaces": ["warn", { "skipBlankLines": true, "ignoreComments": true }],
"no-duplicate-case": "error",
"no-irregular-whitespace": "warn",
"no-prototype-builtins" : "off",
"no-useless-escape" : "off",
"no-inner-declarations" : "off",
"no-constant-assign" : "off",
"no-const-assign" : "off",
"no-dupe-keys" : "off",
"no-useless-catch" : "off"
}
}