aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-04-03 03:44:13 +0800
committerkumavis <aaron@kumavis.me>2018-04-03 03:44:13 +0800
commit4dd2bfade1b4c87f6dac64858028e86dd92fc671 (patch)
treea8f3e7a5bbe2b1c920a57457c6734b08e96526f3
parentee1acf0a7ea490e4d22efdf22dec984cd7ba6a6a (diff)
downloadtangerine-wallet-browser-4dd2bfade1b4c87f6dac64858028e86dd92fc671.tar
tangerine-wallet-browser-4dd2bfade1b4c87f6dac64858028e86dd92fc671.tar.gz
tangerine-wallet-browser-4dd2bfade1b4c87f6dac64858028e86dd92fc671.tar.bz2
tangerine-wallet-browser-4dd2bfade1b4c87f6dac64858028e86dd92fc671.tar.lz
tangerine-wallet-browser-4dd2bfade1b4c87f6dac64858028e86dd92fc671.tar.xz
tangerine-wallet-browser-4dd2bfade1b4c87f6dac64858028e86dd92fc671.tar.zst
tangerine-wallet-browser-4dd2bfade1b4c87f6dac64858028e86dd92fc671.zip
lint - include old ui
-rw-r--r--gulpfile.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 1eb0a974b..e3d288276 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -209,7 +209,7 @@ gulp.task('dev:copy',
gulp.task('lint', function () {
// Ignoring node_modules, dist/firefox, and docs folders:
- 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'])
+ return gulp.src(['app/**/*.js', '!app/scripts/vendor/**/*.js', 'ui/**/*.js', 'old-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).
@@ -220,7 +220,7 @@ gulp.task('lint', function () {
});
gulp.task('lint:fix', function () {
- 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', 'ui/**/*.js', 'old-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(Object.assign(fs.readFileSync(path.join(__dirname, '.eslintrc')), {fix: true})))
.pipe(eslint.format())
.pipe(eslint.failAfterError())