Investigate and perform the steps necessary to prepare the linter for deployment in CI workflows.
## Conditions of acceptance
[] Create a linter package for use in CI
[] ...
[] Build a list of tasks necessary to complete this work
[] ...
## Steps to get the OpenAPI linter into CI
(preliminary list)
- [ ] Split the linting rules out of the [[ https://wmf-openapi-linter.toolforge.org/ | linter tool ]] into a dedicated repo
- [ ] Create an npm package (could be initially beta/internal so it's easier for us to iterate a bit faster over versions)
- [ ] The package itself should be the rulesets; Spectral can be used for tests.
- [ ] Validate pass/fail conditions (warnings vs errors, etc) over the core spec before we make it CI test
- [ ] Check into where to add Spectral and the linting rules into CI (talk to DevEx)