Skip to content

Commit bdb23a8

Browse files
committed
Add Promises to devtools eslintrc
1 parent 827b7ac commit bdb23a8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

devtools/.eslintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
"env": {
44
"node": true,
55
"browser": true
6+
},
7+
"globals": {
8+
"Promise": true
69
}
710
}

devtools/test_dashboard/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function readFiles(files) {
7474
}
7575

7676
function createMocksList(files) {
77-
var mocksList = files.map(function(file, i) {
77+
var mocksList = files.map(function(file) {
7878
var contents = JSON.parse(file.contents);
7979

8080
// get plot type keywords from mocks

0 commit comments

Comments
 (0)