Skip to content

Commit

Permalink
build: add mjs extension to lint-js
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
nschonni authored and addaleax committed Mar 11, 2020
1 parent 4b84010 commit 641eac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lint-js.js
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit 641eac9

Please sign in to comment.