Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

Commit

Permalink
fix: allow single-line ternary expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
hongaar committed Nov 12, 2019
1 parent 248aed9 commit 1ecc20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ const ESLINT_RULES = {
'keyword-spacing': [ERROR, { 'before': true, 'after': true }],
'lines-between-class-members': [ERROR, 'always', { 'exceptAfterSingleLine': true }],
'max-len': [ERROR, { 'code': 100 }],
'multiline-ternary': [ERROR, 'always'],
'multiline-ternary': [ERROR, 'always-multiline'],
'new-cap': [ERROR, { 'newIsCap': true, 'capIsNew': false, 'properties': true }],
'new-parens': ERROR,
'no-array-constructor': ERROR,
Expand Down

0 comments on commit 1ecc20d

Please sign in to comment.