-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
48 lines (48 loc) · 1.01 KB
/
.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
48
{
"parser": "babel-eslint",
"extends": "eslint-config-shakacode",
"globals": {
"$": true,
"Rollbar": true,
"StripeCheckout": true,
"__DEBUG_SERVER_ERRORS__": true,
"__SERVER_ERRORS__": true,
"analytics": true,
"beforeEach": true,
"describe": true,
"equalheight": true,
"expect": true,
"it": true,
"jest": true,
"spyOn": true
},
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"comma-dangle": [2, "never"],
"eol-last": [0],
"max-len": [0, 120],
"no-console": [2],
"no-mixed-requires": [0],
"no-unused-vars": [2, { "argsIgnorePattern": "^_" }],
"no-underscore-dangle": [0],
"quotes": [2, "single"],
"react/jsx-uses-react": 1,
"react/wrap-multilines": 2,
"semi": [2, "never"],
"space-before-function-paren": [2, "always"],
"valid-jsdoc": 2
},
"plugins": [
"react"
]
}