
Fixes a couple of lint errors caught by `npm run lint` in timeline- overview.js and timeline-viewport.js. Also restructures the test- details controller to use appropriate `this.` syntax instead of `$scope.` In addition, eslint and eslint-config-openstack have been updated, and a new .eslintrc.json config file has been created to tweak some specific rules for stackviz. Change-Id: I9e1fe5121621730eb3efda4b99e9fe182f399aee
26 lines
418 B
JSON
26 lines
418 B
JSON
{
|
|
"extends" : "openstack",
|
|
|
|
"globals" : {
|
|
"angular": false,
|
|
"module": false
|
|
},
|
|
|
|
"env" : {
|
|
"browser": true,
|
|
"jasmine": true
|
|
},
|
|
|
|
"rules" : {
|
|
"module-setter": 0,
|
|
"strict": [2,"global"],
|
|
"valid-jsdoc": 0,
|
|
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
|
|
"no-extra-parens": [2, "functions"],
|
|
"complexity": 0,
|
|
"no-unused-vars": 0,
|
|
"guard-for-in": 0
|
|
}
|
|
|
|
}
|