Skip to content

Conversation

@smeijer
Copy link
Member

@smeijer smeijer commented Jun 19, 2020

What:
I've updated the eslint config to include a rule for body style.

Why:
To maintain a uniform code style without the developer needing to think about it.

How:
Add arrow-body-style: ['error', 'as-needed'] to .eslintrc.js

Checklist:

  • Tests
  • Ready to be merged

Replaces #201, turns out, as-needed results in the preferred style

@smeijer smeijer mentioned this pull request Jun 19, 2020
2 tasks
@smeijer smeijer merged commit 93c52ad into develop Jun 19, 2020
@smeijer smeijer deleted the feature/arrow-body-style branch June 19, 2020 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant