Minor Rules

Check: Minor Rules

Flyway Teams

This is available in Flyway CLI only

Description

You can configure your pipeline to fail when specified static code analysis rules beyond a given tolerance level are violated.

minorRules should contain a comma-separated list of rules which are considered to be minor.

If the total number of minorRules violations exceeds the minorTolerance, Flyway will fail.

Default

No rules are regarded as minor violations

Usage

Commandline

./flyway check -code -check.minorRules=L002

TOML Configuration File

[flyway.check]
minorRules = ["L002"]

Configuration File

flyway.check.minorRules=L002

Didn't find what you were looking for?