Skip to content

Lint Rules

The Flyway lexicon ships lint rules that run during chant lint and post-synth checks that validate the serialized TOML after chant build.

Severity: error | Category: security

Flags hardcoded password/user strings in Environment constructors.

Severity: warning | Category: security

Flags hardcoded JDBC URLs in Environment constructors.

Severity: warning | Category: correctness

Flags Environment constructors without a schemas property.

Severity: warning | Category: correctness

Flags migration filenames that don’t follow V/R/U naming convention.

Severity: error | Category: correctness

Flags duplicate version numbers in migration arrays.

RuleDescription
WFW101Production environment with clean enabled
WFW102Production environment missing validateOnMigrate
WFW103Production environment with baselineOnMigrate
WFW104Unresolved resolver reference
WFW105Empty or missing flyway.locations
WFW106Invalid callback event name
WFW107Enterprise-only callback (undo)
WFW108Environment without URL
WFW109Provisioner config mismatch
WFW110Environment schemas differ from parent environment schemas
WFW111Unknown key in TOML output — key is not a recognized Flyway property