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

For example: for rule SelectStarChecker. Bug can be found in a commented block. ` SELECT a FROM bbb ` Maybe we should on element.getContent() - remove all commented blocks, instantly....

question

For example: ``` ``` 1) while parsing first cftransaction have null EndTag 2) For second cftransaction, endTag is = "``" I add a new rule: EndTagChecker ``` @Override public void...

enhancement

Hi, I added some setters to combine several results in one report. In CFLintResult.java add: ``` public void setIssues(Map bugsList){ BugList bugs = cflint.getBugs(); bugs.setBugList(bugsList); cflint.setBugs(bugs); } ``` In BugList.java...

enhancement

When declaring a ordered struct, I do: ``` a = structNew( "ordered" ); ``` and cflint complains about the use of structnew. I don't see in the docs another way...

question

---- from @denuno That would be a pretty interesting thing to have in CFLint itself, actually, along with a mode where you could enable auto-fixing (or maybe auto-ignoring)... e.g. instead...

enhancement

I've seen this a lot. Someone has written something like ``` ... ``` when it would be preferable to just write ``` ... ``` The hashes in that example are...

enhancement

A `cfm` file with the content ``` ``` has the following JSON output ```json { "version" : "1.4.1", "timestamp" : 1540257038, "issues" : [ { "severity" : "INFO", "id" :...

bug

See https://github.com/cflint/CFLint/issues/594 Script tags are currently 'simulated' in CFLint by generating the corresponding cfml tags. This should be changed.

enhancement

Are there any linter rules for managing white space? Like detecting tabs vs spaces, indentation issues, trailing spaces, etc.?

enhancement

The following are legal ways to declare a struct or array. - `addressComponents.streetName = "Main";` - `sampleCollection[7] = "Hello, World";` It should recommend being explicit with the type declaration in...

enhancement