Run Prettier linter
Goal:
Speed up reviewing PRs by enforcing one code style for the project.
Todo:
- [ ] Install Prettier linter as development dependency
- [ ] Create basic Prettier config
- [ ] Create two
scriptentries in thepackage.jsonfile:- [ ]
prettierthat runs Prettier with the--cacheoption - [ ]
prettier-fixthat runs prettier with the--cacheoption and fixes the files
- [ ]
- [ ] Create basic GitHub Action run to check if the
prettiercommand run passes
adding extra dependencies to this project might change the outcome results of the tutorial right?
I'm probably getting something mixed up here. 🙈😄
The goal for this project is: ^comment
I would like for us to have a specific "demo" repository with a hands-on getting started guide where users can fork it and follow the guide to experience Renovate. E.g. starting simply with onboarding but then showing:
- making config changes during onboarding and seeing the change
- making changes after, e.g. adding package rules and common features like labels, assignees, etc.
This should be part of our "official" documentation and maintained to stay accurate.
When we say "maintained to stay accurate" do we mean:
- update the project dependencies ourselves/with Renovate?
- update the documentation whenever Renovate bot configuration or other upstream like Kubernetes/AWS/Docker changes?
- both of the above?
Do we want this repository to have "stale dependencies"? So that the examples in the doc match the behavior after people fork the renovatebot/tutorial repository?
Right now, I don't understand why adding Prettier may cause problems. 😉
ill test it out, thing is, we have Screenshots of the dependencies,
im hoping renovate config:base ignores devDependencies if it changes the Order of the PRs, i will give it a test