Skip to content

Commit

Permalink
move npmDependencies rule into node configuration and opt out in rose…
Browse files Browse the repository at this point in the history
…tta/perennial, phetsims/perennial#372
  • Loading branch information
zepumph committed Nov 13, 2024
1 parent fad6432 commit bdcb07e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ export default [

// This rule doesn't apply to Rosetta.
// See https://github.com/phetsims/phet-core/issues/100 for paper trail.
'phet/default-export-class-should-register-namespace': 'off'
'phet/default-export-class-should-register-namespace': 'off',

// It isn't clear that rosetta wants to use perennial's node modules via npm-dependencies/. If this isn't true,
// please see https://github.com/phetsims/perennial/issues/372 and fix in rosetta.
'no-restricted-imports': 'off'
},
settings: {
react: {
Expand Down

0 comments on commit bdcb07e

Please sign in to comment.