CFLint icon indicating copy to clipboard operation
CFLint copied to clipboard

MISSING_SEMI not detecting missing semicolons

Open KamasamaK opened this issue 7 years ago • 4 comments

I have removed semicolons in a component body, function body, and within <cfscript> tags in a tag file and none of them are reporting MISSING_SEMI. I do not have that rule excluded in my .cflintrc. The only way I could get it to report is via #580, which is a false positive.

EDIT: Testing on the latest dev build with ad7e24f as the latest commit.

KamasamaK avatar Jun 19 '18 16:06 KamasamaK

I've also noticed that it is not documented in the cflint.definition.json, cflint.description.txt, or RULES.md. Is this not a supported rule?

KamasamaK avatar Jun 20 '18 02:06 KamasamaK

I was able to get it to trigger properly in a very specific situation.

Triggers: foo.append(bar)

Does not trigger: testVar = foo.append(bar)

arrayAppend(foo, bar)

KamasamaK avatar Jun 20 '18 03:06 KamasamaK

Any solution for this?

devalnor avatar Mar 22 '19 12:03 devalnor

I am also having this issue. Any updates?

blangsmgi avatar Oct 02 '19 20:10 blangsmgi