chore(madrun) set lint:progress default lint

This commit is contained in:
coderaiser 2019-08-21 19:43:13 +03:00
parent f22829ef4f
commit 137673c551

View file

@ -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'`;