FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

commandbox-cflint

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

Changelog

2.1.1

  • Forgot to update the README with new CFLint version

2.1.0

  • Added ability to filter out levels of errors
  • Upgraded CFLint to latest 1.4.1 release

2.0.1

  • Fixed issue where output does not write to the current working directory

2.0.0

  • Running CFLint via the Java API instead of via the command line
  • Fixes issue #4 where Windows users get error that the command line is too long
  • Bumping the major version because this load CFLint via an OSGi bundle which requires CommandBox 4 or above

1.2.1

  • Fixed default pattern parameter since the | no longer works in a glob pattern

1.2.0

  • Upgraded CFLint to latest 1.4.0 release

1.1.0

  • Fix for case sensitive OSs
  • Added the ability for the pattern argument to accept a list of globbing patterns: ex models/**.cfc,modules_app/**.cfc

1.0.0

  • Upgraded CFLint to latest 1.3.0 release
  • Added the ability to suppress the display output if needed via the suppress argument
  • Added the ability to generate multiple output types at once
  • Added the ability to have the choice to fail with an exit code or note using the exitOnError argument, great for not failing CI builds if needed
  • New text report output by using the text argument
  • New json report output by using the json argument
  • Added types for CLI introspection and tab completion.

0.5.0

  • Original Release

Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.

Version Created Last Update Published By Stable Download
2.1.1 Feb 01 2019 09:11 PM Feb 01 2019 09:11 PM Jason Steinshouer (jsteinshouer)
2.1.0 Feb 01 2019 09:00 PM Feb 01 2019 09:00 PM Jason Steinshouer (jsteinshouer)
2.0.1 Sep 30 2018 07:40 AM Sep 30 2018 07:40 AM Jason Steinshouer (jsteinshouer)
2.0.0 Sep 24 2018 09:38 AM Sep 24 2018 09:38 AM Jason Steinshouer (jsteinshouer)
1.2.1 Sep 24 2018 08:12 AM Sep 24 2018 08:12 AM Jason Steinshouer (jsteinshouer)
1.2.0 Jul 10 2018 10:22 AM Jul 10 2018 10:22 AM Jason Steinshouer (jsteinshouer)
1.1.0 Feb 19 2018 08:02 AM Feb 19 2018 08:02 AM Jason Steinshouer (jsteinshouer)
1.0.0 Feb 14 2018 11:08 AM Feb 14 2018 11:08 AM Jason Steinshouer (jsteinshouer)
0.5.0 Jan 03 2018 04:25 PM Jan 03 2018 04:25 PM Jason Steinshouer (jsteinshouer)
0.4.0 Jan 03 2018 03:50 PM Jan 03 2018 03:50 PM Jason Steinshouer (jsteinshouer)
0.3.0 Dec 31 2017 11:07 AM Dec 31 2017 11:07 AM Jason Steinshouer (jsteinshouer)

 

No collaborators yet.
     
  • Dec 31 2017 11:07 AM
  • Feb 01 2019 09:11 PM
  • 1049
  • 0
  • 201