CFLint icon indicating copy to clipboard operation
CFLint copied to clipboard

Combine the config and the filter file

Open ryaneberly opened this issue 7 years ago • 3 comments

The config file and the filter file seem to fill similar roles, deprecate the filter file

ryaneberly avatar Jan 07 '17 05:01 ryaneberly

retract. filterfile allows more specific targets like functions, than the config does.

ryaneberly avatar Jan 07 '17 06:01 ryaneberly

Could the config file not have a new property called filter?

timbeadle avatar Jan 05 '18 10:01 timbeadle

Is there a good reason that we couldn't add additional properties to excludes? It already takes a code in the same way as cflintexclude.json, so also being able to provide a file path or function name should be doable, I think. As for ignoring files/folders entirely, we have the proposed .cflintignore for that.

Related: #528 and #531

KamasamaK avatar Jan 05 '18 16:01 KamasamaK