Skip to content

Commit

Permalink
feat: add 'curly' eslint rule to enforce braces around single-line bl…
Browse files Browse the repository at this point in the history
…ocks
  • Loading branch information
mediremi committed Jul 21, 2021
1 parent 2b64523 commit 6090466
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ module.exports = {
},
},
],
curly: ['error'],
},
}

0 comments on commit 6090466

Please sign in to comment.