From 98561b490c5014a07e7ea504857b0ff4e4da2456 Mon Sep 17 00:00:00 2001 From: zepumph Date: Thu, 29 Oct 2020 09:18:27 -0800 Subject: [PATCH] remove static getters from bad text, https://github.com/phetsims/tasks/issues/1048 --- eslint/rules/bad-sim-text.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/eslint/rules/bad-sim-text.js b/eslint/rules/bad-sim-text.js index ffe9b1656..7d940b3c1 100644 --- a/eslint/rules/bad-sim-text.js +++ b/eslint/rules/bad-sim-text.js @@ -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', '(' ] },