[sonar scan] Scan public directories (#190350)

legrego helpfully pointed out that these files should be scanned - they
include client side code. The replaces the exclusion of `public` with
`target`, the compiled version of this source.
This commit is contained in:
Jon 2024-08-12 17:14:48 -05:00 committed by GitHub
parent aae7a3b058
commit 6ca1df0115
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,8 +38,7 @@ sonar.exclusions=\
**/mock_responses/**/*, \
**/mocks/**/*, \
**/node_modules/**/*, \
**/public/**/*, \
**/scripts/**/*, \
**/target/**/*, \
**/storybook/**/*, \
**/stubs.ts, \
**/test/**/*, \
@ -47,6 +46,9 @@ sonar.exclusions=\
**/test_mocks.ts, \
**/test_resources/**/*, \
**/tests/**/*, \
src/dev/**/*
src/dev/**/*, \
x-pack/plugins/*/scripts/**/*, \
src/plugins/*/scripts/**/*, \
packages/*/scripts/**/*,
sonar.javascript.node.maxspace=8192