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

chore(pre-commit) - Update pre-commit docs and better support for cfnlintrc #2448

Merged
merged 2 commits into from
Oct 26, 2022

Conversation

kddejong
Copy link
Contributor

@kddejong kddejong commented Oct 26, 2022

Issue #, if available:
fix #987

Description of changes:

  • Update the options for pre-commit hooks including the updating of documentation

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kddejong kddejong changed the title Update pre-commit docs and better support for cfnlintrc chore(pre-commit) - Update pre-commit docs and better support for cfnlintrc Oct 26, 2022
README.md Show resolved Hide resolved
@kddejong kddejong merged commit ae76d89 into aws-cloudformation:main Oct 26, 2022
@kddejong kddejong deleted the fix/issue/987 branch October 26, 2022 20:56
@mmaeng
Copy link
Contributor

mmaeng commented Oct 26, 2022

LGTM!

description: 'cfn-lint is a tool for finding issues with CloudFormation templates'
entry: cfn-lint
language: python
pass_filenames: false
Copy link
Contributor

Choose a reason for hiding this comment

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

I like this a lot (the three options)
There is a downside to this last option though, it will always scan all templates, even if you only change one

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yea, agreed. Trying to give some options so people can pick whats right for them. Besides making .cfnlintrc file work better with pre-commit scanning all templates as cfn-lint specs and rules change could be useful (maybe)?

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

Successfully merging this pull request may close these issues.

ignore_templates is not working from .cfnlintrc file
3 participants