mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
migrate user model to new code style and es6
This commit is contained in:
@@ -9,7 +9,10 @@ import eslint from 'gulp-eslint';
|
||||
gulp.task('lint:server', () => {
|
||||
// Ignore .coffee files
|
||||
return gulp
|
||||
.src(['./website/src/**/api-v3/**/*.js'])
|
||||
.src([
|
||||
'./website/src/**/api-v3/**/*.js',
|
||||
'./website/src/models/user.js'
|
||||
])
|
||||
.pipe(eslint())
|
||||
.pipe(eslint.format())
|
||||
.pipe(eslint.failAfterError());
|
||||
|
||||
Reference in New Issue
Block a user