forked from miraclx/xbytes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
executable file
·47 lines (47 loc) · 982 Bytes
/
.eslintrc
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
42
43
44
45
46
47
{
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true,
"jest": true,
"node": true,
"jquery": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 9
},
"extends": ["eslint:recommended", "airbnb-base", "prettier"],
"plugins": ["prettier"],
"rules": {
"no-bitwise": 0,
"no-console": 0,
"no-sequences": 0,
"no-cond-assign": 0,
"no-new-require": 2,
"no-return-assign": 0,
"no-nested-ternary": 0,
"no-unused-vars": [
1,
{
"argsIgnorePattern": "res|next|^err|^_"
}
],
"no-process-exit": 0,
"no-control-regex": 0,
"no-sparse-arrays": 0,
"no-param-reassign": 0,
"no-unsafe-finally": 0,
"prettier/prettier": [
1,
{
"trailingComma": "all",
"singleQuote": true,
"printWidth": 130,
"bracketSpacing": false
}
],
"no-unused-expressions": 0,
"no-template-curly-in-string": 2
}
}