-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
30 lines (30 loc) · 848 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
{
"extends": "airbnb",
"globals": {
"afterAll": true,
"afterEach": true,
"beforeAll": true,
"beforeEach": true,
"describe": true,
"expect": true,
"test": true,
// global polyfill - no imports
"fetch": true
},
"parser": "babel-eslint",
"rules": {
"import/prefer-default-export": "off",
"object-shorthand": "off",
"no-use-before-define": "off",
"arrow-parens": ["error" , "as-needed", {"requireForBlockBody": false }],
"no-console": ["error", { allow: ["log", "error"] }],
"no-unused-vars": ["warn", { "vars": "all", "args": "after-used", "ignoreRestSiblings": false }],
"comma-dangle": ["error", {
"arrays": "never",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never",
}]
}
}