whiteclarkegroup / liquibase-linter

Quality control for your Liquibase scripts
https://whiteclarkegroup.github.io/liquibase-linter/
Apache License 2.0
26 stars 7 forks source link
linting liquibase quality validation

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.