Skip to content

Commit

Permalink
[sonar scan] Scan public directories (#190350)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jbudz authored Aug 12, 2024
1 parent aae7a3b commit 6ca1df0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,17 @@ sonar.exclusions=\
**/mock_responses/**/*, \
**/mocks/**/*, \
**/node_modules/**/*, \
**/public/**/*, \
**/scripts/**/*, \
**/target/**/*, \
**/storybook/**/*, \
**/stubs.ts, \
**/test/**/*, \
**/test_data/**/*, \
**/test_mocks.ts, \
**/test_resources/**/*, \
**/tests/**/*, \
src/dev/**/*
src/dev/**/*, \
x-pack/plugins/*/scripts/**/*, \
src/plugins/*/scripts/**/*, \
packages/*/scripts/**/*,

sonar.javascript.node.maxspace=8192

0 comments on commit 6ca1df0

Please sign in to comment.