Skip to content

Commit c7834c5

Browse files
committed
fix eslint paths
1 parent 8f54cb6 commit c7834c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Gulpfile.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ const eslint = (path) => async () => {
339339
"--format", "autolinkable-stylish",
340340
"--rulesdir", "scripts/eslint/built/rules",
341341
"--ext", ".ts",
342-
`"${ path }"`,
342+
`${ path }`,
343343
];
344344

345345
if (cmdLineOptions.fix) {
@@ -350,12 +350,12 @@ const eslint = (path) => async () => {
350350
return exec(process.execPath, args);
351351
}
352352

353-
const lintScripts = eslint("scripts/**/*.ts");
353+
const lintScripts = eslint("scripts");
354354
lintScripts.displayName = "lint-scripts";
355355
task("lint-scripts", series([buildEslintRules, lintFoldStart, lintScripts, lintFoldEnd]));
356356
task("lint-scripts").description = "Runs eslint on the scripts sources.";
357357

358-
const lintCompiler = eslint("src/**/*.ts");
358+
const lintCompiler = eslint("src");
359359
lintCompiler.displayName = "lint-compiler";
360360
task("lint-compiler", series([buildEslintRules, lintFoldStart, lintCompiler, lintFoldEnd]));
361361
task("lint-compiler").description = "Runs eslint on the compiler sources.";

0 commit comments

Comments
 (0)