pdk validate: Ability to include/exclude files & directories across all validators #1066
-
This is an attempt to clarify / define the requests across:
The common request seems to have the ability to define an inclusion/exclusion list common to all validators, without having to configure each individual validator's config. Exclusions for a specific validator should still be possible and the global config merged in to the more specific config. We should define how and where we want to locate this global inclusion / exclusion list through this discussion |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Has there been any traction on this. I have cloudformation templates that are failing the yaml validation. It just needs to be able to have exclusions. What's interesting is:
|
Beta Was this translation helpful? Give feedback.
-
We're adding this to the PDK 2.2.0 release planning, as this potentially requires changing the interface to validate. We're going to release a 2.1.1 bugfix release before then, but wanted to update this discussion with the current progress. |
Beta Was this translation helpful? Give feedback.
-
👋🏼 all! I have #1114 up, which adds an ignore file list to While I work out adding the spec tests, I'd appreciate commentary on the UI of adding the setting and commiting that file to project. |
Beta Was this translation helpful? Give feedback.
👋🏼 all! I have #1114 up, which adds an ignore file list to
pdk validate
, for all of the validators. Its added as a project setting for pdk, which means you set it viapdk set config
. This means the list of excluded files is now contained inside the project, so any future calls to pdk validate respects the list (for example in CI).While I work out adding the spec tests, I'd appreciate commentary on the UI of adding the setting and commiting that file to project.