Skip to content

Commit

Permalink
Enable brace-style rule in 1tbs variant with disallowed single li…
Browse files Browse the repository at this point in the history
…ne option
  • Loading branch information
bedrich-schindler committed Nov 22, 2022
1 parent cd1a878 commit 05c8678
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ module.exports = {
'react-hooks'
],
rules: {
'brace-style': ["error", "1tbs", {
allowSingleLine: false
}],
curly: ["error", "all"],
'import/order': ['error', {
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index']
Expand Down

0 comments on commit 05c8678

Please sign in to comment.