-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc
More file actions
38 lines (38 loc) · 1018 Bytes
/
Copy path.eslintrc
File metadata and controls
38 lines (38 loc) · 1018 Bytes
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
{
// enable airbnb eslint from https://www.npmjs.com/package/eslint-config-airbnb
"extends": "airbnb",
"parser": "babel-eslint",
"globals": {
"window": true,
"document": true,
"it": true,
"xit": true,
"xdescribe": true,
"describe": true,
"afterEach": true,
"expect": true,
"fetch": true,
"FormData": true,
"Twilio": true,
},
"rules": {
consistent-return: [0, { "treatUndefinedAsUnspecified": true }],
no-extraneous-dependencies: "off",
no-plusplus: "off",
no-param-reassign: "off",
no-shadow: "off",
camelcase: "off",
prefer-template: "off",
"arrow-body-style": "off",
"import/no-named-as-default": "off",
"comma-dangle": 1,
"max-len": [2, 120, 2],
"import/prefer-default-export": 0,
"react/jsx-boolean-value": 0,
"jsx-a11y/href-no-hash": "off",
"react/jsx-filename-extension": 0,
"react/forbid-prop-types": 0,
"react/prefer-stateless-function": "off",
"no-restricted-globals": "off"
}
}