Skip to content

Commit

Permalink
fix: Turn off unicorn/prefer-ternary (#28)
Browse files Browse the repository at this point in the history
Ternary operators almost always make the code harder to understand and
maintain.
  • Loading branch information
dipasqualew authored Feb 22, 2021
1 parent e0997e6 commit 2d394a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mixins/unicorn.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ module.exports = {
"unicorn/no-null": "off",
"unicorn/no-array-for-each": "off",
"unicorn/prevent-abbreviations": "off",
"unicorn/prefer-ternary": "off",
},
};

0 comments on commit 2d394a0

Please sign in to comment.