-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
40 lines (39 loc) · 1.04 KB
/
.eslintrc.json
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
{
"extends": "airbnb-base",
"rules": {
"max-len": ["error", {"code": 200, "ignoreComments": true}],
"no-multiple-empty-lines": "off",
"import/extensions": "off",
"max-classes-per-file": "off",
"operator-linebreak": "off",
"no-else-return": "off",
"no-unused-vars": ["error", { "varsIgnorePattern": "EntitySchema|Identifier|IdentifierSchema|DataElementSchema|ComponentSchema|FacilityLocationSchema|Code|Quantity|Interval|Integer|Array|Float|Time|Number|Date|Mixed|Any" }],
"camelcase": "off",
"arrow-parens": "off",
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"}],
"no-underscore-dangle": [
"error",
{
"allow": [
"_id", "_type", "_doc"
]
}
],
"no-param-reassign": [
"error",
{
"props": false
}
]
},
"env": {
"jasmine": true,
"browser": true,
"node": true
}
}