mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 07:50:41 +00:00
build: add mjs extension to lint-js
This matches what the lint-js make target passes through the CLI. PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
4b84010e5a
commit
641eac9b0d
@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
const rulesDirs = ['tools/eslint-rules'];
|
||||
const extensions = ['.js', '.md'];
|
||||
const extensions = ['.js', '.mjs', '.md'];
|
||||
// This is the maximum number of files to be linted per worker at any given time
|
||||
const maxWorkload = 60;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user