CFLint icon indicating copy to clipboard operation
CFLint copied to clipboard

-filterFile cflintexclude.json not being used

Open andyj opened this issue 5 years ago • 0 comments

I am running the latest DEV branch, and here is how I am calling CFLINT

java -jar CFLint-1.5.1-SNAPSHOT-all.jar -folder ./ -filterFile cflintexclude.json -d

.cflintrc is in the folder /Users/aj/Projects/test/

{
  "rule" : [],
  "excludes" : [],
  "includes" : [ {
        "code": "AVOID_USING_ABORT"
    } ],
  "inheritParent" : false,
  "parameters":{}
}

cflintexclude.json contains

[
  {"file":".*/Users/aj/Projects/test/Application.cfc.*"},
  {"file": ".*[Aa]pplication.cfc"},
  {"file": ".*Application.cfc.*"}
]

andyj avatar Apr 15 '20 21:04 andyj