mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
Remove eslint errors.
This commit is contained in:
parent
8cee2497c6
commit
20ec477450
3 changed files with 5 additions and 4 deletions
|
@ -52,7 +52,7 @@
|
|||
"no-process-env": 0, // `2` is recommended
|
||||
"no-proto": 2,
|
||||
"no-redeclare": [2, {"builtinGlobals": true}], // `2` is recommended and actually defaults to `[2, {"builtinGlobals": false}]`
|
||||
"no-return-assign": [2, "except-parens"],
|
||||
"no-return-assign": [1, "except-parens"],
|
||||
"no-script-url": 2,
|
||||
"no-self-compare": 2,
|
||||
"no-sequences": 2,
|
||||
|
@ -153,6 +153,6 @@
|
|||
"no-sync": 1, // `2` is default
|
||||
|
||||
// eslint v2
|
||||
"keyword-spacing": 2
|
||||
//"keyword-spacing": 2
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,7 +26,8 @@ datautil.applyData = function(device) {
|
|||
}
|
||||
else {
|
||||
log.info(
|
||||
'Device database does not have an entry for "%s" (model "%s"/"%s"). This is not an error, it only means that we don\'t have data for it yet.'
|
||||
'Device database does not have an entry for "%s" (model "%s"/"%s"). ' +
|
||||
'This is not an error, it only means that we don\'t have data for it yet.'
|
||||
, device.serial
|
||||
, device.model
|
||||
, device.product
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
"chai": "^3.4.1",
|
||||
"css-loader": "^0.23.1",
|
||||
"del": "^2.0.1",
|
||||
"eslint": "^2.0.0-beta.1",
|
||||
"eslint": "^2.11.1",
|
||||
"event-stream": "^3.3.2",
|
||||
"exports-loader": "^0.6.2",
|
||||
"extract-text-webpack-plugin": "^1.0.1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue