From 1cfadf3eebccd055d34428f92a275b6354e062c4 Mon Sep 17 00:00:00 2001 From: zepumph Date: Fri, 18 Jan 2019 11:49:34 -0900 Subject: [PATCH] comment out toFixed rule, https://github.com/phetsims/chipper/issues/737 --- eslint/rules/bad-sim-text.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/eslint/rules/bad-sim-text.js b/eslint/rules/bad-sim-text.js index b41477e7..6bf885b2 100644 --- a/eslint/rules/bad-sim-text.js +++ b/eslint/rules/bad-sim-text.js @@ -33,10 +33,11 @@ module.exports = function( context ) { // DOT/Util.toFixed or DOT/Util.toFixedNumber should be used instead of toFixed. // JavaScript's toFixed is notoriously buggy. Behavior differs depending on browser, // because the spec doesn't specify whether to round or floor. - { - name: '.toFixed(', // support regex with english names this way - regex: new RegExp( '(?