Created
July 10, 2017 22:11
-
-
Save mwpastore/7f009b497304e812135cfbe29edaa1c0 to your computer and use it in GitHub Desktop.
eslint rule for arrow function parens styling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
// .. | |
rules: { | |
'arrow-parens': [2, 'as-needed', { requireForBlockBody: true }], | |
// .. | |
} | |
// .. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment