-
Notifications
You must be signed in to change notification settings - Fork 15
/
.eslintrc
41 lines (41 loc) · 1.21 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
{
"extends": "strongloop",
"env": {
"browser": true
},
"parserOptions": { "ecmaVersion": 6 },
"rules": {
"eqeqeq": "off",
"no-unused-vars": ["error", { "varsIgnorePattern": "update\\w*Data|updateHeader|TextTable|TreeNode|(?:clear|refresh|resize)FlameGraph|populateLocalizedStrings|formatTemplate|clearProfilingData|Top5|HttpSummary",
"argsIgnorePattern": "^_" }],
"max-len": ["error", 120, 8, {"ignoreComments": true}],
"comma-dangle": "off",
"spaced-comment": ["error", "always", { "exceptions": ["*"] }],
"strict": "off",
},
"globals": {
"d3": false,
"getTimeFormat": false,
"canvasWidth": true,
"canvasHeight": true,
"margin": true,
"graphWidth": true,
"graphHeight": true,
"monitoringStartTime": false,
"maxTimeWindow": false,
"httpCanvasWidth": true,
"httpGraphWidth": true,
"tallerGraphHeight": true,
"setHttpTop5Options": false,
"socket": false,
"$": false,
"resize": false,
"memPoolsCanvasWidth": true,
"memPoolsGraphWidth": true,
"localizedStrings": false,
"formatTemplate": false,
"TreeNode": false,
"clearFlameGraph": false,
"refreshFlameGraph": false
}
}