diff options
Add linting to our mocha suite
Diffstat (limited to 'test/unit/linting_test.js')
-rw-r--r-- | test/unit/linting_test.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/unit/linting_test.js b/test/unit/linting_test.js new file mode 100644 index 000000000..27b4b2b1e --- /dev/null +++ b/test/unit/linting_test.js @@ -0,0 +1,9 @@ +// LINTING: +const lint = require('mocha-eslint'); +const lintPaths = ['app/**/*.js', 'ui/**/*.js', '!node_modules/**', '!dist/**', '!docs/**', '!app/scripts/chromereload.js'] + +const lintOptions = { + strict: true, +} + +lint(lintPaths, lintOptions)
\ No newline at end of file |