Add more pre-commit linting#518
Conversation
These make it much easier to not have minor nits across various files in the repository.
Prettier provides the same experience as Python's Black, when working on web-related stuff.
|
@choldgraf I am personally fine with those, you're OK with merging? (as long as pre-commit runs them, I don't care too much which exact linting rules we use :)) |
|
+1 from me, any objection to using pre-commit.ci ? |
|
Thanks @pradyunsg ! (enabled "rebase and merge" for a moment, to preserve Pradyun's commits)
I have no experience with it. What does it exactly provide over the current pre-commit running in github actions? Automatic fixing? |
|
yeah - the main benefit I've found is when people make edits to things directly from the GitHub UI, or where they make edits before remembering to install |
|
FWIW, you can't use pre-commit.ci unless you drop the "local" step that builds things using the yarn-installed environment. :) |
The pre-commit linting related commits by @pradyunsg from #514, so those can already be merged separately