diff options
author | kumavis <aaron@kumavis.me> | 2018-01-18 07:35:47 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2018-01-18 07:35:47 +0800 |
commit | 0e52684acd93787a5e27d4de909332f675da5a27 (patch) | |
tree | 3f93d247d4811c9bc40e84c1411e641265b965ae /gulpfile.js | |
parent | daa62b507a654f6c913725b3c36fc6122b1c088e (diff) | |
download | dexon-wallet-0e52684acd93787a5e27d4de909332f675da5a27.tar.gz dexon-wallet-0e52684acd93787a5e27d4de909332f675da5a27.tar.zst dexon-wallet-0e52684acd93787a5e27d4de909332f675da5a27.zip |
lint - ignore vendor js
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js index 4c36ff7d..89c6c6a5 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -171,7 +171,7 @@ gulp.task('deps', function (cb) { gulp.task('lint', function () { // Ignoring node_modules, dist/firefox, and docs folders: - return gulp.src(['app/**/*.js', 'ui/**/*.js', 'mascara/src/*.js', 'mascara/server/*.js', '!node_modules/**', '!dist/firefox/**', '!docs/**', '!app/scripts/chromereload.js', '!mascara/test/jquery-3.1.0.min.js']) + return gulp.src(['app/**/*.js', 'app/scripts/vendor/**/*.js', 'ui/**/*.js', 'mascara/src/*.js', 'mascara/server/*.js', '!node_modules/**', '!dist/firefox/**', '!docs/**', '!app/scripts/chromereload.js', '!mascara/test/jquery-3.1.0.min.js']) .pipe(eslint(fs.readFileSync(path.join(__dirname, '.eslintrc')))) // eslint.format() outputs the lint results to the console. // Alternatively use eslint.formatEach() (see Docs). |