-
Notifications
You must be signed in to change notification settings - Fork 36
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
Feature Request: Identify poorly indented states (e.g. only using one space instead of two) #246
Labels
Type: Enhancement
New feature or request
Comments
@roaldnefs Yes, that definitely will work. #240 would be a fantastic addition to Thanks for the prompt reply! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
salt-lint
should catch poorly indented states.https://github.com/saltstack-formulas/haproxy-formula/blob/958c2d9249b276d1844605091608e02dc3601512/haproxy/config.sls#L4-L19
Describe the solution you'd like
Run
salt-lint
on the above file and it will pass.salt-lint
has been enabled for this repository for a long time now, here's the last run:https://gitlab.com/saltstack-formulas/haproxy-formula/-/jobs/914490845#L171
Examining haproxy/config.sls of type state
should show a failure.The text was updated successfully, but these errors were encountered: