Skip to content
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: Add rule for hyphens similar to yamllint #105

Closed
dawidmalina opened this issue Nov 11, 2019 · 3 comments
Closed

Feature Request: Add rule for hyphens similar to yamllint #105

dawidmalina opened this issue Nov 11, 2019 · 3 comments
Labels

Comments

@dawidmalina
Copy link

Here's the hyphens rule in yamllint: https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.hyphens

the following code snippet would fail:

/path/to/file1:
  file.managed:
    -  contents: This is line 1

the following code snippet would fail:

/path/to/file1:
  file.managed:
    -contents: This is line 1

the following code snippet would pass:

/path/to/file1:
  file.managed:
    - contents: This is line 1
@dawidmalina
Copy link
Author

@roaldnefs I can work on this

@dawidmalina
Copy link
Author

@roaldnefs there was a dedicated pull request to covert that but it was closed? Are you interested in this feature request?

@roaldnefs
Copy link
Member

Closing this issue in favour of #240.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants