Skip to content

Commit

Permalink
Change operator-linebreak rule to enforce operators before
Browse files Browse the repository at this point in the history
I have come to appreciate that having them in front is more readable.
  • Loading branch information
sindresorhus committed Jun 15, 2021
1 parent 6313099 commit d038b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -397,7 +397,7 @@ module.exports = {
],
'operator-linebreak': [
'error',
'after'
'before'
],
'padded-blocks': [
'error',
Expand Down

0 comments on commit d038b0c

Please sign in to comment.