Ignore config files in monorepo

Hi there,

Currently I have to manually exclude certain config files in the monorepo because sonar doesn’t identify these as config files. Examples:

jest.config.ts (jest supports typescript based configs)
stylelint.config.js
packages/frontend/next.config.js
packages/backend/webpack.config.js

I can globally ignore all **/.config. files but this might prove problematic. Instead I’d like to suggest that jest ignore these files by default because they are 3rd party config files.

Hello,

It’s not so obvious to me why those files should be excluded from the analysis. They are still JS code, which might contain some flaws. Why is it a problem for you to have them analyzed?

If you believe they should not be analyzed for your project, feel free to exclude them. Why is that problematic for you?