Skip to content

Commit

Permalink
update lint to support mjs cjs, phetsims/rosetta#370
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Mar 2, 2023
1 parent 43316d5 commit 1ae1fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/grunt/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
Expand Down

0 comments on commit 1ae1fdf

Please sign in to comment.