diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-06-22 05:01:40 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-06-22 05:01:40 +0800 |
commit | 1cafdb8b1dbe06e29441316789a84720a897eeb3 (patch) | |
tree | fdc1aeda5a304507081f887b04a7dddb6b1a6204 /test | |
parent | 8fde8a8921135112ccfdd13ce6b009755b5f71ed (diff) | |
download | tangerine-wallet-browser-1cafdb8b1dbe06e29441316789a84720a897eeb3.tar tangerine-wallet-browser-1cafdb8b1dbe06e29441316789a84720a897eeb3.tar.gz tangerine-wallet-browser-1cafdb8b1dbe06e29441316789a84720a897eeb3.tar.bz2 tangerine-wallet-browser-1cafdb8b1dbe06e29441316789a84720a897eeb3.tar.lz tangerine-wallet-browser-1cafdb8b1dbe06e29441316789a84720a897eeb3.tar.xz tangerine-wallet-browser-1cafdb8b1dbe06e29441316789a84720a897eeb3.tar.zst tangerine-wallet-browser-1cafdb8b1dbe06e29441316789a84720a897eeb3.zip |
Add linting to our mocha suite
Diffstat (limited to 'test')
-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 |