use eslint autofix to start fixing violations

This commit is contained in:
spalger
2017-06-14 18:48:24 -07:00
parent da8e558817
commit 3d75c6ff0f
97 changed files with 1281 additions and 1280 deletions

View File

@ -1,13 +1,13 @@
const rel = require('path').resolve.bind(null, __dirname, '..')
const rel = require('path').resolve.bind(null, __dirname, '..');
function ignoreLoader(ignores) {
return {
loader: 'null-loader',
test(path) {
return ignores.some(ignore => path.includes(ignore))
return ignores.some(ignore => path.includes(ignore));
},
}
};
}
function jsLoader() {
@ -15,7 +15,7 @@ function jsLoader() {
loader: 'babel-loader',
test: /\.js$/,
include: rel('src'),
}
};
}
module.exports = { ignoreLoader, jsLoader, rel }
module.exports = { ignoreLoader, jsLoader, rel };