Skip to content

Commit

Permalink
feat: Enable arrow-parens rule (#40)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Arrow functions shouldn't have parenthesis around
a single argument
  • Loading branch information
jhnns authored Aug 26, 2018
1 parent 4c4f531 commit 6ef3259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = {
"array-element-newline": "off", // http://eslint.org/docs/rules/array-element-newline
"array-func/prefer-array-from": "off", // https://github.com/freaktechnik/eslint-plugin-array-func
"arrow-body-style": ["error", "as-needed"], // http://eslint.org/docs/rules/arrow-body-style
"arrow-parens": "off", // http://eslint.org/docs/rules/arrow-parens
"arrow-parens": ["error", "as-needed"], // http://eslint.org/docs/rules/arrow-parens
"arrow-spacing": [
"error",
{
Expand Down

0 comments on commit 6ef3259

Please sign in to comment.