forked from jessrosenfield/textract
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
27 lines (26 loc) · 775 Bytes
/
.eslintrc.json
File metadata and controls
27 lines (26 loc) · 775 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
{
"extends": "airbnb",
"rules": {
"space-in-parens": ["error", "always", { "exceptions": ["{}"] }],
"comma-style": ["error", "first", { "exceptions": { "ArrayExpression": true, "ObjectExpression": true } }],
"comma-dangle": ["error", "only-multiline"],
"space-before-function-paren": ["error", "never"],
"func-names": 0,
"no-param-reassign": 0,
"one-var-declaration-per-line": ["error", "initializations"],
"no-underscore-dangle": 0,
// es6
"object-shorthand": 0,
"one-var": ["error", "always"],
"no-var": 0,
"prefer-template": 0,
"prefer-arrow-callback": 0,
"prefer-rest-params": 0
},
"env": {
"mocha": true
},
"globals": {
"expect": true
}
}