1
0
Fork 1
mirror of https://example.com synced 2024-11-28 06:36:38 +09:00
firefish/scripts/lint.js
syuilo 73b5c12927 introduce lint for client
Resolve #7998
2021-11-18 23:32:43 +09:00

17 lines
423 B
JavaScript

const execa = require('execa');
(async () => {
console.log('linting packages/backend ...');
await execa('npm', ['run', 'lint'], {
cwd: __dirname + '/../packages/backend',
stdout: process.stdout,
stderr: process.stderr,
});
console.log('linting packages/client ...');
await execa('npm', ['run', 'lint'], {
cwd: __dirname + '/../packages/client',
stdout: process.stdout,
stderr: process.stderr,
});
})();