This is a CommandBox module for linting your CFML code using CFLint.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
commands
examples
models
resources
.gitignore
CHANGELOG.md
LICENSE
ModuleConfig.cfc
README.md
box.json

README.md

commandbox-cflint

This is a CommandBox module for linting your CFML code using CFLint.

CFLint Version: 1.4.1

Install

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

Usage

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

Example Output

Example Console Output

Example HTML Report