CFLint icon indicating copy to clipboard operation
CFLint copied to clipboard

Static code analysis for CFML (a linter)

Results 108 CFLint issues
Sort by recently updated
recently updated
newest added

Running CFLint for the first time, I was getting a null pointer exception on one of my files. I managed to distill it down to this repro case: ``` component...

Collection ticket for discussion around Lucee and CFLint

enhancement
question
task

By default entire file gets scanned for rules, Can we get an option to identify new code vs existing code and rules will be applied only on new code, this...

CFLint-1.5.0-all.jar the loop tag (lucee) within cfscript is not showing missing var In the example "i" and "alpha" is missing a var ` loop list="#abc#" index="i" item="alpha" { dump(alfa) }...

Here’s a tiny component to demonstrate what I consider to be an inconsistency in CFLint. ``` ``` In this form, CFLint will complain with this message “``Local variable someoutput is...

The option to use comments to ignore lines/specific rules doesn't seem to be working when running from the command line. I'm running against the following code: ``` var testa =...

I was getting a null pointer exception of file_error - and couldn't tell why. I finally figured out, one of the lines in my closure, was missing a semi colon,...

Hi Just found this out recently cflint ignore:QUERYPARAM_REQ only works in the code is on a single line and the cflint ignore:QUERYPARAM_REQ is at the very end. if the query...

v1.5 (via commandbox-cflint, v2.3) Here's [a gist with a CFScript function that is 100 lines long](https://gist.github.com/adamcameron/6f65c182a1e788ece1c61975c3311df5). I am using this `.cflintrc` file, in the same directory: ``` { "rule": [...

So a lot of the time, when I am looking for code smells it usually is when you have have a 2000 line file with 1000 lines in a single...

enhancement