mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 21:57:22 +01:00
(chore): Add lint:watch task
This commit is contained in:
@@ -63,3 +63,11 @@ gulp.task('lint:tests', () => {
|
||||
});
|
||||
|
||||
gulp.task('lint', ['lint:server', 'lint:common']);
|
||||
|
||||
gulp.task('lint:watch', () => {
|
||||
gulp.watch([
|
||||
'./website/src/**/*.js',
|
||||
'./common/script/**/*.js',
|
||||
'./test/**/*.js',
|
||||
], ['lint']);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user