Skip to content

Commit fe34da8

Browse files
nschonniMylesBorins
authored andcommitted
build: add mjs extension to lint-js
This matches what the lint-js make target passes through the CLI. PR-URL: #32145 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent af73ed6 commit fe34da8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/lint-js.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const rulesDirs = ['tools/eslint-rules'];
4-
const extensions = ['.js', '.md'];
4+
const extensions = ['.js', '.mjs', '.md'];
55
// This is the maximum number of files to be linted per worker at any given time
66
const maxWorkload = 60;
77

0 commit comments

Comments
 (0)