cflint / CFLint

Static code analysis for CFML (a linter)
BSD 3-Clause "New" or "Revised" License
174 stars 84 forks source link

-filterFile cflintexclude.json not being used #680

Open andyj opened 4 years ago

andyj commented 4 years ago

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.*"}
]