-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix 2777 - Add IBM openapi validator #2782
Fix 2777 - Add IBM openapi validator #2782
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the only thing we need to change here is that the linter will run for all YAML files, but should somehow only run for OpenAPI configuration files. Maybe a different filetype can be used.
9fb2b6a
to
9563fd9
Compare
@w0rp I have modified this so it uses a different filetype "openapi". Also modified yamllint so it can be used with openapi files and added prettier as suggested fixer for openapi files. |
@w0rp sorry to push this given so many MRs that still need review but what else would be required to get this merged? I use this frequently at work and would like to have it in master. |
This pull request has been automatically marked as stale because it has not been updated recently. Make sure to write tests and document your changes. See |
This pull request has been automatically marked as stale because it has not been updated recently. Make sure to write tests and document your changes. See |
This pull request has been automatically marked as stale because it has not been updated recently. Make sure to write tests and document your changes. See |
This pull request has been automatically marked as stale because it has not been updated recently. Make sure to write tests and document your changes. See |
Not stale, waiting review and merge. |
This pull request has been automatically marked as stale because it has not been updated recently. Make sure to write tests and document your changes. See |
This commit enables yamllint and prettier on openapi files.
ed5171e
to
4aa11cb
Compare
Adds IBM openapi validator to the ever growing list of ALE linters. This allows us to edit open api specs in yaml within vim/neovim with confidence.
Closes #2777