chore(madrun) add lint:stream

This commit is contained in:
coderaiser 2019-12-21 17:19:38 +02:00
parent 075568d3ec
commit ba0179e62f

View file

@ -33,12 +33,15 @@ 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:base': () => putout(names),
'lint:base': () => putout({
names,
}),
'lint:css': () => 'stylelint css/*.css',
'spell': () => 'yaspeller .',
'fix:lint': () => run(['lint', 'lint:css'], '--fix'),
'lint': () => run('lint:progress'),
'lint:progress': () => run('lint:base', '-f progress'),
'lint:stream': () => run('lint:base', '-f stream'),
'test:base': () => {
const cmd = 'tape';