From 1ae1fdf44463097ea923fae09854e243996c57f5 Mon Sep 17 00:00:00 2001 From: Michael Kauzmann Date: Thu, 2 Mar 2023 10:54:38 -0700 Subject: [PATCH] update lint to support mjs cjs, https://github.com/phetsims/rosetta/issues/370 --- js/grunt/lint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/grunt/lint.js b/js/grunt/lint.js index a669cb965..cf194649f 100644 --- a/js/grunt/lint.js +++ b/js/grunt/lint.js @@ -93,7 +93,7 @@ const lintOneRepo = async ( repo, options ) => { // Our custom rules live here rulePaths: [ '../chipper/eslint/rules' ], - extensions: [ '.js', '.jsx', '.ts', '.tsx' ] + extensions: [ '.js', '.jsx', '.ts', '.tsx', '.mjs', '.cjs' ] }; const cacheKey = `lintRepo#${repo}`;