Skip to content

Conversation

andidev
Copy link
Contributor

@andidev andidev commented Oct 1, 2022

Configured eslint and prettier to run on pre-commit hook with eslint-staged.
Eslint do run the checks without fix parameter while prettier runs with write parameter to auto format before commit.

First option with used in docs
https://prettier.io/docs/en/precommit.html#option-1-lint-stagedhttpsgithubcomokonetlint-staged

@pgrzesik
Copy link
Contributor

pgrzesik commented Oct 3, 2022

Hey @andidev - thanks a lot for the proposal, unfortunately looks like the CI checks are failing, would you be able to look into that?

@pgrzesik
Copy link
Contributor

pgrzesik commented Jan 8, 2023

Hey @andidev - I'm going to close this for the time being, if you're still interested in working on this problem, please let me know and we can reopen 💯

@pgrzesik pgrzesik closed this Jan 8, 2023
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.

2 participants