Skip to content

Commit cb3dd31

Browse files
committed
fix(lint): fix lint errors
1 parent 33e3461 commit cb3dd31

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

template/gulp-tasks/build.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import browserify from 'browserify';
77
import vueify from 'vueify';
88
import babelify from 'babelify';
99
import modulesify from 'css-modulesify';
10+
import aliasify from 'aliasify';
1011
import source from 'vinyl-source-stream';
1112
import buffer from 'vinyl-buffer';
1213
import {argv} from 'yargs';

template/gulp-tasks/copy.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import fs from 'fs';
55
import {argv} from 'yargs';
66
import {dirs, prod} from './config';
77

8-
98
gulp.task('copy:client:fa', () => {
109
return gulp
1110
.src(path.resolve(dirs.modules, 'font-awesome/fonts/*'))

template/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import app from './server/server';
55

66
const client = path.resolve(__dirname, 'client');
77

8-
const unless = function (paths, middleware) {
9-
return function (req, res, next) {
8+
const unless = function(paths, middleware) {
9+
return function(req, res, next) {
1010
if (paths.some(p => req.path.indexOf(p) > -1)) {
1111
return next();
1212
}
@@ -21,7 +21,7 @@ app.use(express.static(client));
2121
// enable redirect urls to index
2222
app.use(unless(
2323
['/api', '/explorer'],
24-
fallback('index.html', { root: client }),
24+
fallback('index.html', {root: client}),
2525
));
2626

2727
// start app

0 commit comments

Comments
 (0)