Skip to content

Commit 463b7c0

Browse files
committed
ci: hel base sonar-project.properties Refs: KEH-189
1 parent d5e1006 commit 463b7c0

1 file changed

Lines changed: 43 additions & 6 deletions

File tree

sonar-project.properties

Lines changed: 43 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,45 @@
1+
# Base SonarQube configuration for City of Helsinki Frontend projects
12
sonar.projectKey = City-of-Helsinki_kultus-admin-ui
2-
sonar.organization = city-of-helsinki
3+
sonar.organization=city-of-helsinki
34
sonar.javascript.node.maxspace = 8192
4-
sonar.javascript.lcov.reportPaths = ./coverage/lcov.info
5-
sonar.sources = src
6-
sonar.exclusions = **/__snapshots__/*,**/__mocks__/*
7-
sonar.tests = .
8-
sonar.test.inclusions = **/__tests__/*
5+
sonar.javascript.lcov.reportPaths=./coverage/lcov.info
6+
sonar.sourceEncoding=UTF-8
7+
sonar.sources=src
8+
sonar.exclusions= \
9+
**/__tests__/**/*, \
10+
**/__mocks__/**/*, \
11+
**/__snapshots__/*, \
12+
**/*.d.ts, \
13+
**/*.test.js, \
14+
**/*.test.ts, \
15+
**/*.test.jsx, \
16+
**/*.test.tsx, \
17+
**/*.spec.js, \
18+
**/*.spec.ts, \
19+
**/*.spec.jsx, \
20+
**/*.spec.tsx, \
21+
src/setupTests.js, \
22+
src/setupTests.ts
23+
24+
sonar.coverage.exclusions= \
25+
**/*.stories.js, \
26+
**/*.stories.ts, \
27+
**/*.stories.jsx, \
28+
**/*.stories.tsx, \
29+
src/index.js, \
30+
src/index.jsx, \
31+
src/index.ts, \
32+
src/index.tsx, \
33+
src/serviceWorker.js, \
34+
src/serviceWorker.ts
35+
36+
sonar.test.inclusions= \
37+
**/__tests__/**/*, \
38+
**/*.test.js, \
39+
**/*.test.ts, \
40+
**/*.test.jsx, \
41+
**/*.test.tsx, \
42+
**/*.spec.js, \
43+
**/*.spec.ts, \
44+
**/*.spec.jsx, \
45+
**/*.spec.tsx

0 commit comments

Comments
 (0)