CFLint
CFLint copied to clipboard
Static code analysis for CFML (a linter)
EDIT: better example below Possibly related to https://github.com/cflint/CFLint/issues/657
When attempting to use camelCase for the `ComponentNameChecker.case` parameter I noticed it's still applying the PascalCase logic. Digging into the code it looks like the issue is an incomplete method...
I'm utilizing the CFLintAPI, and am attempting to call result.writeHTML("default.xsl",writer) - it doesn't matter which htmlStyle value I provide, I get: `net.sf.saxon.trans.XPathException: Values of 'standalone' and 'omit-xml-declaration' conflict`
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1. Release notes Sourced from junit's releases. JUnit 4.13.1 Please refer to the release notes for details. JUnit 4.13 Please refer to the release notes...
Wrong line will be reported if bug is in cfoutput: Example, rule: VAR_INVALID_NAME, code: ``` ZXC TEST (#фывйс#) ``` will report, line 2, when it is 7.
Ik works good in cfml: ![image](https://user-images.githubusercontent.com/2518238/84028463-0d7efe80-a991-11ea-8ba3-dbb2a33c6880.png) cfset and name is underlined because of the missing vars but in cfscript: ![image](https://user-images.githubusercontent.com/2518238/84028792-a57ce800-a991-11ea-9ed4-929cab88dc0e.png) name is not underlined, but it is a missing var...
`` lead to parsing error
This wont be parsed correctly because of: ' ``` ) / ```
Second cfargument wont be passed to element(final Element element, final Context context, final BugList bugs) function, because of `default="#["xx"]#"` ``` ``` Can be tested with rule ARG_HINT_MISSING
Enhancement Request: CFLint rule for nested comments