From ff2cf29250c72e750e936260dda217cd788c81e2 Mon Sep 17 00:00:00 2001 From: Jesse Date: Fri, 8 Nov 2019 13:44:21 -0500 Subject: [PATCH] uncomment ' => { return ' in bad text, see phetsims/energy-skate-park#140 --- eslint/rules/bad-text.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eslint/rules/bad-text.js b/eslint/rules/bad-text.js index 7e9bbe2a..c5b81bf1 100644 --- a/eslint/rules/bad-text.js +++ b/eslint/rules/bad-text.js @@ -51,11 +51,11 @@ module.exports = function( context ) { 'phetio element', // use "phet-io element" or "PhET-iO element" 'Phet-iO', - '@return ' + '@return ', // TODO: uncomment once ESP(B) lint errors fixed, see https://github.com/phetsims/energy-skate-park/issues/140 // if on a one line arrow function returning something, prefer instead `() => theReturn`, see https://github.com/phetsims/chipper/issues/790 - // ' => { return ' + ' => { return ' ]; return {