Skip to content

Commit

Permalink
Enforce newlines between operands of ternary expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
PareshRadadiya committed Aug 20, 2020
1 parent cb3b3ea commit 924cbd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-base/rules/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ module.exports = {
// require multiline ternary
// https://eslint.org/docs/rules/multiline-ternary
// TODO: enable?
'multiline-ternary': ['off', 'never'],
'multiline-ternary': ['error', 'always'],

// require a capital letter for constructors
'new-cap': ['error', {
Expand Down

0 comments on commit 924cbd1

Please sign in to comment.