diff options
author | Nick Schonning <nschonni@gmail.com> | 2020-03-08 01:37:48 -0500 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-03-11 17:38:43 +0100 |
commit | 641eac9b0d762bcbd7d7301d477187ab99baf384 (patch) | |
tree | 7d5bf82026f82a7d703d6253f00574308016cbb7 /tools | |
parent | 4b84010e5a25303ed198413d241e2625923f9985 (diff) | |
download | node-new-641eac9b0d762bcbd7d7301d477187ab99baf384.tar.gz |
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lint-js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lint-js.js b/tools/lint-js.js index 30ff2d313c..4ddbe228d1 100644 --- a/tools/lint-js.js +++ b/tools/lint-js.js @@ -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; |