Skip to content

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

License

Notifications You must be signed in to change notification settings

commandbox-modules/commandbox-cflint

 
 

Repository files navigation

commandbox-cflint

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

CFLint Version: 1.5.0

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

Generate a JUnit report

box cflint models/**.cfc --junit

Example Output

Example Console Output

Example HTML Report

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • ColdFusion 100.0%