Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eslint] Enforce arrow-parens #3207

Merged
merged 1 commit into from
Feb 7, 2016
Merged

[eslint] Enforce arrow-parens #3207

merged 1 commit into from
Feb 7, 2016

Conversation

oliviertassinari
Copy link
Member

It reduces the cost of adding a new argument.
And it prevents the incorrect use of arrow functions in conditionals:

if (a => b) {
}

http://eslint.org/docs/rules/arrow-parens.html
https://github.com/airbnb/javascript#arrow-functions

It reduces the cost of adding a new argument.
And it prevents the incorrect use of arrow functions in conditionals:
```js
if (a => b) {
}
```
@alitaheri
Copy link
Member

Thanks 👍 👍

oliviertassinari added a commit that referenced this pull request Feb 7, 2016
@oliviertassinari oliviertassinari merged commit 7b697c9 into mui:master Feb 7, 2016
@oliviertassinari oliviertassinari deleted the eslint-enforce-arrow-parens branch February 7, 2016 12:18
@zannager zannager added package: system Specific to @mui/system package: eslint Specific to eslint-plugin-material-ui labels Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: eslint Specific to eslint-plugin-material-ui package: system Specific to @mui/system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants