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 <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>
1 parent 52564db commit bf76823

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎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)