ci(sonarqube): update file pattern

according to https://docs.sonarqube.org/7.6/project-administration/narrowing-the-focus/
This commit is contained in:
Fu Hanxi 2021-08-23 11:02:46 +08:00
parent ed8df94915
commit dfb0d593ad

View File

@ -7,13 +7,13 @@ sonar.sourceEncoding=UTF-8
# exclude list for sonarqube # exclude list for sonarqube
# Here're some examples: (relative with the idf_path) # Here're some examples: (relative with the idf_path)
# test/** # test/**/*
# test/*/*.c # test/*/*.c
sonar.exclusion=\ sonar.exclusion=\
components/freertos/*.c,\ components/freertos/*.c,\
components/freertos/include/freertos/*.h,\ components/freertos/include/freertos/*.h,\
components/wpa_supplicant/src/**,\ components/wpa_supplicant/src/**/*,\
components/wpa_supplicant/include/** components/wpa_supplicant/include/**/*
sonar.inclusions=\ sonar.inclusions=\
**/*.c,**/*.cpp,**/*.h,**/*.hpp,\ **/*.c,**/*.cpp,**/*.h,**/*.hpp,\