Skip to content

Commit 47475f1

Browse files
author
Walker Leite
committed
fix(lint): fix lint errors
1 parent 8fa8ae3 commit 47475f1

File tree

5 files changed

+18
-20
lines changed

5 files changed

+18
-20
lines changed

template/client/main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import store from './store';
2626
// Add router state to store
2727
sync(store, router);
2828
{{/extended}}
29-
3029
{{#unless extended}}
3130
import './static/main.css';
3231
{{/unless}}
Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
export default {
2-
methods: {
3-
notifySuccess(msg) {
2+
methods: {
3+
notifySuccess(msg) {
4+
// TODO: show success message
5+
},
6+
notifyError(error) {
7+
// TODO: show error message
8+
throw error;
9+
},
10+
notifyWhenSuccess(msg) {
11+
return () => {
412
// TODO: show success message
5-
},
6-
notifyError(error) {
7-
// TODO: show error message
8-
throw error;
9-
},
10-
notifyWhenSuccess(msg) {
11-
return () => {
12-
// TODO: show success message
13-
};
14-
},
13+
};
1514
},
16-
};
17-
15+
},
16+
};

template/gulp-tasks/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ gulp.task('build:client', ['copy:client'], () => {
3333
scss: customSass,
3434
},
3535
});
36-
36+
3737
let b = browserify({
3838
entries: path.resolve(dirs.srcClient, 'main.js'),
3939
debug: true,

template/test/client/app.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('App.vue', () => {
1414
vm = new Constructor({
1515
mounted: () => done(),
1616
{{#extended}}
17-
components: { routerView },
17+
components: {routerView},
1818
{{/extended}}
1919
});
2020
vm.$mount();

template/test/karma.conf.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import babelify from 'babelify';
22
import vueify from 'vueify';
33
import modulesify from 'css-modulesify';
44
import tmp from 'tmp';
5-
import { dirs } from '../gulp-tasks/config';
6-
import { customSass } from '../gulp-tasks/compilers.js';
5+
import {dirs} from '../gulp-tasks/config';
6+
import {customSass} from '../gulp-tasks/compilers.js';
77

88
const cssBundleFile = tmp.fileSync();
99

@@ -34,7 +34,7 @@ export default (config) => {
3434
transform: [babelify, vueify],
3535
plugin: [[modulesify, {
3636
global: true,
37-
generateScopedName: function (name, filename) {
37+
generateScopedName: function(name, filename) {
3838
var matches = filename.match(/^\/node_modules/);
3939
if (matches) return name;
4040
if (process.env.NODE_ENV === 'production') {

0 commit comments

Comments
 (0)