mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
fixed linting issue in the watch task
This commit is contained in:
parent
bf5a19077a
commit
0243be483d
|
@ -8,7 +8,7 @@ const JSONValidation = require("./scripts/json-validation");
|
|||
const eslintConfig = "../.eslintrc.json";
|
||||
|
||||
task("lint", function () {
|
||||
return src(["./src/ts/**/*.ts"])
|
||||
return src(["./frontend/src/ts/**/*.ts"])
|
||||
.pipe(eslint(eslintConfig))
|
||||
.pipe(eslint.format())
|
||||
.pipe(eslint.failAfterError());
|
||||
|
|
Loading…
Reference in a new issue