Closed dod38fr closed 3 years ago
I can confirm that I could not get this to work either based on the schema. I was able to use the defaultFormat to accomplish the same goal. For an enhancement, it would be helpful to add a special handling for "explicit file names"
V4.0.0 introduced ability to use ^ in the licenseFormats section. You can therefore reference a Dockerfile using ^Dockerfile
Hi
Dockerfile
is like a shell script and requires comments prefixed by '#'. I cannot find a way to specify alicenseFormats
statement that allowlicense-check-and-add
to do that: the added license is always added in a C-style comment (/* ... */
).E.g. this
licenseFormats
statement does not work:Did I miss something ?
All the best