Skip to content

Commit

Permalink
Add @stylistic/multiline-ternary rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Aug 3, 2024
1 parent 0f81063 commit 3dea281
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,10 @@ const rules = {
capIsNew: true,
},
],
'@stylistic/multiline-ternary': [
'error',
'always-multiline',
],
'@stylistic/new-parens': 'error',
'no-array-constructor': 'error',
'no-bitwise': 'error',
Expand Down

0 comments on commit 3dea281

Please sign in to comment.