Run eslint --fix

Fixing 1000s of lint issues. Some rules cannot be `--fix`ed but this goes some way to linting the entire codebase.
This commit is contained in:
Luke Barnard 2017-10-11 17:56:17 +01:00
parent 8958be9321
commit d3f9a3aeb5
136 changed files with 2540 additions and 2657 deletions

View file

@ -3,5 +3,5 @@
// Our master test file: uses the webpack require API to find our test files
// and run them
var context = require.context('.', true, /-test\.jsx?$/);
const context = require.context('.', true, /-test\.jsx?$/);
context.keys().forEach(context);