Skip to content

Commit bf76823

Browse files
committed
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: #27670 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Refael Ackermann (רפאל פלחי) <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]>
1 parent 52564db commit bf76823

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎tools/lint-js.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ if (cluster.isMaster){
3535
letcurPath='Starting ...';
3636
letshowProgress=true;
3737
constglobOptions={
38-
nodir: true
38+
nodir: true,
39+
ignore: '**/node_modules/**/*'
3940
};
4041
constworkerConfig={};
4142
letstartTime;

0 commit comments

Comments
(0)