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

New linting rules #221

Merged
merged 4 commits into from
Dec 20, 2018
Merged

New linting rules #221

merged 4 commits into from
Dec 20, 2018

Conversation

LindsayHill
Copy link
Contributor

ansible-lint 4.0.0 introduces many new default rules. These trip us up in many places.

The only new default rule I have not fixed is the 120-char line length rule. For now I have just excluded that rule from checks.

I have also fixed a small issue with our CircleCi config, where it was running ansible-lint against non-existent *.yaml files.

roles/st2chatops/tasks/main.yml Outdated Show resolved Hide resolved
.circleci/config.yml Outdated Show resolved Hide resolved
@arm4b arm4b added this to the v1.0.0 milestone Dec 20, 2018
Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks for updating the linting!

@LindsayHill
Copy link
Contributor Author

Thanks for the input both of you. Have merged your suggestions. Now just have to wait for Travis to do its thing. Assuming all is well, I will then merge

@LindsayHill LindsayHill merged commit 9f2f457 into master Dec 20, 2018
@LindsayHill LindsayHill deleted the ansible-lint branch December 20, 2018 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants