Run new lint rules (#5413)

This commit is contained in:
Brian Ng
2017-03-04 09:46:01 -06:00
committed by Henry Zhu
parent f7e2d88f6c
commit 8a82cc060a
181 changed files with 1459 additions and 1454 deletions

View File

@@ -9,18 +9,18 @@ import path from "path";
sourceMapSupport.install({
handleUncaughtExceptions: false,
environment : "node",
environment: "node",
retrieveSourceMap(source) {
const map = maps && maps[source];
if (map) {
return {
url: null,
map: map
map: map,
};
} else {
return null;
}
}
},
});
registerCache.load();
@@ -31,8 +31,8 @@ const transformOpts = {};
let ignore;
let only;
let oldHandlers = {};
const maps = {};
let oldHandlers = {};
const maps = {};
const cwd = process.cwd();
@@ -72,7 +72,7 @@ function compile(filename) {
// calls above and would introduce duplicates.
babelrc: false,
sourceMaps: "both",
ast: false
ast: false,
}));
}