Skip to content

Commit

Permalink
remove static getters from bad text, phetsims/tasks#1048
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 29, 2020
1 parent 7c7673c commit 98561b4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions eslint/rules/bad-sim-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ module.exports = function( context ) {
// see getBadTextTester for schema.
const forbiddenTextObjects = [

// babel doesn't support compiling static getters, see https://github.com/phetsims/tasks/issues/983
{ id: ' static get ', codeTokens: [ 'static', 'get' ] },

// should be using dot.Utils.roundSymmetric, Math.round does not treat positive and negative numbers
// symmetrically see https://github.com/phetsims/dot/issues/35#issuecomment-113587879
{ id: 'Math.round(', codeTokens: [ 'Math', '.', 'round', '(' ] },
Expand Down

0 comments on commit 98561b4

Please sign in to comment.