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 <riclau@uk.ibm.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
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)