CLI
#
usage#
rulesIndividual rules can be disabled via the --exclude
flag
.squawk.toml
configuration file#
Rules can be disabled with a configuration file.
By default, Squawk will traverse up from the current directory to find a .squawk.toml
configuration file. You may specify a custom path with the -c
or --config
flag.
The --exclude
and --pg-version
flags will always be prioritized over the configuration file.
.squawk.toml
configurations#
example #
excluding rules#
specifying postgres version#
specifying whether SQL files will be wrapped in a transaction#
using all optionsSee the Squawk website for documentation on each rule with examples and reasoning.