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 2019-05-13 23:47:41 +02:00
parent a121f81510
commit 1eda6eb637
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

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;