From ce4cab6fc07aefd86c27ed8116a263a31e665682 Mon Sep 17 00:00:00 2001 From: Jose Gabrielle Rivera <27613092+jgarivera@users.noreply.github.com> Date: Thu, 1 Aug 2024 18:51:31 +0800 Subject: [PATCH] Move checkstyle config to root directory This commit moves the said config file for consistency with other config locations such as sqlfluff. --- build.gradle.kts | 4 ++++ config/checkstyle/checkstyle.xml => checkstyle.xml | 0 2 files changed, 4 insertions(+) rename config/checkstyle/checkstyle.xml => checkstyle.xml (100%) diff --git a/build.gradle.kts b/build.gradle.kts index 657899d..96ff3ab 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -47,6 +47,10 @@ tasks.withType { useJUnitPlatform() } +checkstyle { + configFile = file("checkstyle.xml") +} + tasks.register("lintMigrations") { description = "Lints migration SQL files." diff --git a/config/checkstyle/checkstyle.xml b/checkstyle.xml similarity index 100% rename from config/checkstyle/checkstyle.xml rename to checkstyle.xml