Resolve linter issues

This commit is contained in:
Chi Vinh Le
2018-06-05 04:28:54 +02:00
parent d9a1d739dc
commit ccff6ed63b
148 changed files with 1171 additions and 265 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const processUpdates = async (model, updates) => {
const debugProcessStatistics = (count, totalCount) => {
if (totalCount > 0) {
debug(
`processed ${(count / totalCount * 100).toFixed(
`processed ${((count / totalCount) * 100).toFixed(
2
)}% (${count}/${totalCount}) updates`
);
+5 -1
View File
@@ -7,7 +7,11 @@ const debug = require('debug')('talk:services:migration');
const sc = require('snake-case');
const helpers = require('./helpers');
const { stripIndent } = require('common-tags');
const { talk: { migration: { minVersion } } } = require('../../package.json');
const {
talk: {
migration: { minVersion },
},
} = require('../../package.json');
const migrationTemplate = stripIndent`
module.exports = {