From 137673c5516bdc8c1127c94d82c111b37d326ff0 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 21 Aug 2019 19:43:13 +0300 Subject: [PATCH] chore(madrun) set lint:progress default lint --- madrun.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/madrun.js b/madrun.js index 3246ce64..e322f1f8 100644 --- a/madrun.js +++ b/madrun.js @@ -33,11 +33,12 @@ module.exports = { 'build:start': () => run(['build:client', 'start']), 'build:start:dev': () => run(['build:client:dev', 'start:dev']), 'lint:all': () => run(['lint', 'lint:css', 'spell']), - 'lint': () => putout(names), + 'lint:base': () => putout(names), 'lint:css': () => 'stylelint css/*.css', 'spell': () => 'yaspeller .', 'fix:lint': () => run(['lint', 'lint:css'], '--fix'), - 'lint:progress': () => run('lint', '-f progress'), + 'lint': () => run('lint:progress'), + 'lint:progress': () => run('lint:base', '-f progress'), 'test:base': () => { const cmd = 'tape'; const names = `'test/**/*.js' '{client,static,common,server}/**/*.spec.js'`;