From c2ef3af109e944498ab647d30d7684ddce007b75 Mon Sep 17 00:00:00 2001 From: Matthew Dolan Date: Thu, 14 Nov 2019 13:22:16 +0000 Subject: [PATCH] Add CHANGELOG to allowed uppercase filenames --- .../com/appmattus/markdown/rules/LowerCaseFilenameRule.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/markdown/src/main/kotlin/com/appmattus/markdown/rules/LowerCaseFilenameRule.kt b/markdown/src/main/kotlin/com/appmattus/markdown/rules/LowerCaseFilenameRule.kt index 59fa11d..02f8c61 100644 --- a/markdown/src/main/kotlin/com/appmattus/markdown/rules/LowerCaseFilenameRule.kt +++ b/markdown/src/main/kotlin/com/appmattus/markdown/rules/LowerCaseFilenameRule.kt @@ -34,7 +34,13 @@ import com.appmattus.markdown.processing.MarkdownDocument * Based on [File name](https://www.cirosantilli.com/markdown-style-guide/#file-name) */ class LowerCaseFilenameRule( - private val exclusions: List = listOf("README.md", "LICENSE.md", "NOTICE.md", "CONTRIBUTING.md"), + private val exclusions: List = listOf( + "README.md", + "LICENSE.md", + "NOTICE.md", + "CONTRIBUTING.md", + "CHANGELOG.md" + ), override val config: RuleSetup.Builder.() -> Unit = {} ) : Rule() {