BoxLang 🚀 A New JVM Dynamic Language Learn More...
This is a CommandBox module for linting your CFML code using CFLint.
CFLint Version: 1.5.0
First you will need CommandBox version 4 or higher installed. Then you can install the commandbox-cflint module using the following command.
box install commandbox-cflint
It can be run on a single file or against a list of files defined by a file globing pattern
box cflint **.cfc,**.cfm
Run for all components in the models directory.
box cflint models/**.cfc
Generate html report instead of console output.
box cflint models/**.cfc --html
Hide INFO level results.
box cflint reportLevel=WARNING
Hide INFO and WARNING level results.
box cflint reportLevel=ERROR
Generate a JUnit report
box cflint models/**.cfc --junit
format, format:check, format:watch
pattern
argument to accept a list of globbing patterns: ex models/**.cfc,modules_app/**.cfc
suppress
argumentexitOnError
argument, great for not failing CI builds if neededtext
argumentjson
argument
$
box install commandbox-cflint