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:
parent
a121f81510
commit
1eda6eb637
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user