diff --git a/.eslintrc.js b/.eslintrc.js index ab374c460..d55c08ec9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -10,6 +10,6 @@ module.exports = { 'node/no-extraneous-require': 'error', 'node/no-missing-import': 'error', 'node/no-missing-require': 'error', - 'prefer-const': 'error' - } + 'prefer-const': 'error', + }, } diff --git a/scripts/run b/scripts/run index e6d1ccf42..ea538502f 100755 --- a/scripts/run +++ b/scripts/run @@ -10,7 +10,7 @@ require('exec-promise')(([ command, ...args ]) => console.log('*', name) return fromEvent(spawn(command, args, { cwd: dir, - stdio: 'inherit' + stdio: 'inherit', }), 'exit').then(code => { if (code !== 0) { throw code diff --git a/scripts/run-script b/scripts/run-script index b32f79a3b..98ce35de1 100755 --- a/scripts/run-script +++ b/scripts/run-script @@ -20,10 +20,10 @@ require('exec-promise')(([ script ]) => const spawnOpts = { cwd: dir, env: Object.assign({}, env, { - PATH: `${dir}/node_modules/.bin${delimiter}${env.PATH}` + PATH: `${dir}/node_modules/.bin${delimiter}${env.PATH}`, }), shell: true, - stdio: 'inherit' + stdio: 'inherit', } return forEach.call( [ `pre${script}`, script, `post${script}` ],