forked from Travix-International/travix-ui-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
37 lines (37 loc) · 759 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"travix/base",
"travix/react"
],
"env": {
"browser": true,
"jest": true
},
"globals": {
"__base": true,
"assert": true,
"beforeEach": true,
"describe": true,
"enzyme": true,
"expect": true,
"it": true,
"jest": true,
"React": true,
"ReactDOM": true
},
"rules": {
"comma-dangle": ["error", "always-multiline"],
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
"max-len": [2, {"code": 120, "comments": 120, "tabWidth": 4}],
"react/react-in-jsx-scope": 0,
"no-else-return": 0
}
}