Skip to content

Commit

Permalink
bug fix for node_modules requires, phetsims/chipper#1498
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 28, 2024
1 parent 7c067aa commit 16ab4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/eslint/rules/require-statement-match.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ module.exports = {
}

// Optionally enforce .js suffix for relative paths
const enforceJsSuffix = true; // Set to false if not enforcing
const enforceJsSuffix = !rhs.includes( 'node_modules' ); // Set to false if not enforcing

if ( enforceJsSuffix && !hasExtension ) {
context.report( {
Expand Down

0 comments on commit 16ab4ce

Please sign in to comment.