Open taliaga opened 5 years ago
This looks like an issue with https://github.com/codeclimate/codeclimate-ss-analyzer-wrapper: that repo defines the wrapper code that is used in our various sonar
plugins. It is responsible for walking the various files permitted to be analyzed and then handing them off the Sonar implementation. The sonar implementation then decides if it's a file it actually cares about, but it looks like it probably doesn't handle binary files correctly.
I don't know when we might be able to fix this, but pull requests on that repo are welcome if you're interested in looking into it. I think the logic to expand would be somewhere in https://github.com/codeclimate/codeclimate-ss-analyzer-wrapper/tree/master/src/main/java/cc/files.
Or if you'd rather just work around the issue you can adjust your Code Climate configuration to exclude pngs files.
We don't exclude pngs (or almost any file extension) by default because our default excludes are global, and we wouldn't want to preclude support for a new plugin that analyzed that file type. (E.g. I could imagine a plugin that might analyze pngs to ensure they were optimized/small enough.)
Hi,
Using codeclimate I came across an error (see message below) that won't let me run the rest of the code-climate suite.
I tend to think
.png
files should be excluded by default, but I'm not sure if this should be configured in this repo or in a different one. Wdyt?Cheers!