Skip to content

Conversation

ehmicky
Copy link
Contributor

@ehmicky ehmicky commented May 28, 2021

Functional programming patterns can be contentious. They also do not always make sense, especially inside hot paths.

This PR makes eslint-plugin-fp opt-in instead of opt-out. I believe some repositories like @netlify/build strongly benefit from following functional guidelines due to the complexity of the logic there. Those repositories can opt-in by adding those ESLint rules in their .eslintrc.js.

@ehmicky ehmicky added the type: chore work needed to keep the product and development running smoothly label May 28, 2021
@ehmicky ehmicky self-assigned this May 28, 2021
@github-actions github-actions bot added the type: bug code to address defects in shipped code label May 28, 2021
@ehmicky ehmicky removed the type: bug code to address defects in shipped code label May 28, 2021
@erezrokah erezrokah merged commit d984904 into main May 30, 2021
@erezrokah erezrokah deleted the fix/fp-linting branch May 30, 2021 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: chore work needed to keep the product and development running smoothly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants