File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Base SonarQube configuration for City of Helsinki Frontend projects
12sonar.projectKey = City-of-Helsinki_kultus-admin-ui
2- sonar.organization = city-of-helsinki
3+ sonar.organization = city-of-helsinki
34sonar.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
You can’t perform that action at this time.
0 commit comments