zabetak commented on PR #364: URL: https://github.com/apache/incubator-xtable/pull/364#issuecomment-1978265038
@wuchunfu I don't have some sample open-source project in mind but it appears that the [license-header step](https://github.com/diffplug/spotless/tree/main/plugin-maven#license-header) is a generic step that could be applied in a variety of formats according to the documentation. For instance for .md files adding the following configuration should do the trick: ``` <markdown> <includes> <include>**/*.md</include> </includes> <licenseHeader> <file>style/md-license-header</file> <delimiter>#|---</delimiter> </licenseHeader> </markdown> ``` It's probably necessary to create appropriate configurations for different file types and some things could obviously be grouped together. I see the same discussion spanning under https://github.com/apache/incubator-xtable/pull/359 so not sure where is the best place to continue discussing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
