Skip to content

Commit

Permalink
uncomment ' => { return ' in bad text, see phetsims/energy-skate-park…
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Nov 8, 2019
1 parent 29b844f commit 8e72946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eslint/rules/bad-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8e72946

Please sign in to comment.