use eslint

This commit is contained in:
syuilo
2021-11-12 10:35:41 +09:00
parent c7650846a2
commit 84df0714d8
13 changed files with 482 additions and 186 deletions

9
scripts/lints.js Normal file
View File

@ -0,0 +1,9 @@
const execa = require('execa');
(async () => {
await execa('npm', ['run', 'lint'], {
cwd: __dirname + '/../packages/backend',
stdout: process.stdout,
stderr: process.stderr,
});
})();