Skip to content

Commit

Permalink
add ' static get ' to bad sim text, phetsims/tasks#983
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 22, 2024
1 parent 24324b7 commit e9a5e0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eslint/rules/bad-sim-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ module.exports = function( context ) {

var badTextsForSimCode = [

// babel doesn't support compiling static getters, see https://github.com/phetsims/tasks/issues/983
' static get ',

// should be using dot.Util.roundSymmetric, Math.round does not treat positive and negative numbers
// symmetrically see https://github.com/phetsims/dot/issues/35#issuecomment-113587879
'Math.round',
Expand Down

0 comments on commit e9a5e0f

Please sign in to comment.