Skip to content

whiteclarkegroup/liquibase-linter

Repository files navigation

Liquibase Linter

Quality control for your Liquibase scripts

Build Status Codacy Badge Maven Central Gitter

Get Started

1 Add liquibase-linter to your pom as a dependency of liquibase-maven-plugin:

<plugin>
    <groupId>org.liquibase</groupId>
    <artifactId>liquibase-maven-plugin</artifactId>
    <configuration>
        ...
    </configuration>
    <dependencies>
        <dependency>
            <groupId>com.whiteclarkegroup</groupId>
            <artifactId>liquibase-linter</artifactId>
            <version>0.5.1</version>
        </dependency>
    </dependencies>
    <executions>
        ...
    </executions>
</plugin>

2 Add the config file to your project root, and start turning on rules.

Try the full documentation for details of config and rules.