Closed NDOY3M4N closed 1 year ago
Hello @NDOY3M4N , a github action to format files from a PR? May you explain more please :-)?
Yo mister @ManuSquall , it's just an action that will be executed on the modified files every time there is a new PR or commit.
That way all the files on the project will be nicely formatted and there will be no weird indentations π.
Didn't know it was possible! Sounds good for me, going to check itπ€©!
Yup, or we can use a pre-commit hook with Prettier instead of a GH action. That way only the staged files will be formatted β¨
We should add prettier to the list of dependencies. That way we could standardize the format (maybe we could also add eslint π€).
We can also set up a GitHub action that format files from a PR.