tools: ignore node_modules when linting

This updates out individual linting to work with eslint v6. Without
this change the node_modules would also be checked for.

PR-URL: https://github.com/nodejs/node/pull/27670
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
This commit is contained in:
Ruben Bridgewater committed 2019-06-11 15:59:19 +02:00
1 parent a121f81510
commit 1eda6eb637
1 file changed
+2 -1
+2 -1
View File
@@ -35,7 +35,8 @@ if (cluster.isMaster) {
let curPath = 'Starting ...';
let showProgress = true;
const globOptions = {
nodir: true
nodir: true,
ignore: '**/node_modules/**/*'
};
const workerConfig = {};
let startTime;