1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-15 23:28:16 +09:00
MisskeyIO/scripts/lint.js

18 lines
423 B
JavaScript
Raw Normal View History

2021-11-12 10:35:41 +09:00
const execa = require('execa');
(async () => {
console.log('linting packages/backend ...');
2021-11-12 10:35:41 +09:00
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,
});
2021-11-12 10:35:41 +09:00
})();