Skip to content

Commit

Permalink
remove block-spacing from format rules, phetsims/phet-info#156
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 22, 2024
1 parent 948fc90 commit 46ba4fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eslint/format_eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ module.exports = {

// enforce spacing inside single-line blocks
// https://eslint.org/docs/rules/block-spacing
'block-spacing': [ 'error', 'always' ],
// Leave it off because Webstorm doesn't add spacing to `() => {this.pLDChanged = true;}` to make it `() => { this.pLDChanged = true; }
// TODO: perhaps update webstorm rules, https://github.com/phetsims/phet-info/issues/150
// 'block-spacing': [ 'error', 'always' ],

// enforce or disallow capitalization of the first letter of a comment
// https://eslint.org/docs/rules/capitalized-comments
Expand Down

0 comments on commit 46ba4fe

Please sign in to comment.