mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 21:57:22 +01:00
Remove coffee from files
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import 'coffee-script';
|
||||
|
||||
import mongoose from 'mongoose';
|
||||
import autoinc from 'mongoose-id-autoinc';
|
||||
import logging from '../website/src/libs/logging';
|
||||
|
||||
@@ -2,7 +2,7 @@ import gulp from 'gulp';
|
||||
import eslint from 'gulp-eslint';
|
||||
import _ from 'lodash';
|
||||
|
||||
// TODO remove once we upgrade to lodash 3
|
||||
// TODO remove once we upgrade to lodash 3
|
||||
const defaultsDeep = _.partialRight(_.merge, _.defaults);
|
||||
|
||||
const shared = {
|
||||
@@ -19,7 +19,6 @@ const shared = {
|
||||
};
|
||||
|
||||
gulp.task('lint:client', () => {
|
||||
// Ignore .coffee files
|
||||
return gulp.src(['./website/public/js/**/*.js'])
|
||||
.pipe(eslint(defaultsDeep({
|
||||
env: {
|
||||
@@ -31,7 +30,6 @@ gulp.task('lint:client', () => {
|
||||
});
|
||||
|
||||
gulp.task('lint:server', () => {
|
||||
// Ignore .coffee files
|
||||
return gulp.src(['./website/src/**/*.js'])
|
||||
.pipe(eslint(defaultsDeep({
|
||||
env: {
|
||||
@@ -42,4 +40,4 @@ gulp.task('lint:server', () => {
|
||||
.pipe(eslint.failAfterError());
|
||||
});
|
||||
|
||||
gulp.task('lint', ['lint:server', 'lint:client']);
|
||||
gulp.task('lint', ['lint:server', 'lint:client']);
|
||||
|
||||
Reference in New Issue
Block a user