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 authored and zepumph committed Oct 22, 2024
1 parent f0dfc9c commit ff2cf29
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 ff2cf29

Please sign in to comment.