Skip to content

Commit 641eac9

Browse files
nschonniaddaleax
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 4b84010 commit 641eac9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/lint-js.js

Lines changed: 1 addition & 1 deletion
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)