-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Expand file tree
/
Copy pathsonar-project.properties
More file actions
37 lines (30 loc) · 1.77 KB
/
Copy pathsonar-project.properties
File metadata and controls
37 lines (30 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
sonar.projectKey=fabricjs_fabric.js
sonar.organization=fabricjs
# This is the name and version displayed in the SonarCloud UI.
#sonar.projectName=fabric.js
#sonar.projectVersion=1.0
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=src,extensions,fabric.ts,index.node.ts,index.ts,packages
sonar.exclusions=dist-extensions/**/*,dist/**/*,**/*.spec.ts,packages/e2e/**/*,packages/*/dist/**/*,packages/*/node_modules/**/*,.codesandbox/**/*,src/benchmarks/**/*,src/parkinglot/**/*,src/mixins/eraser_brush.mixin.ts
sonar.test.inclusions=**/*.spec.*,**/*.test.*
sonar.tests=src,extensions,packages
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8
sonar.language=ts
sonar.projectBaseDir=.
# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8
sonar.javascript.lcov.reportPaths=./.nyc_output/lcov.info
# Math.hypot has accuracy issues on Chrome, see https://stackoverflow.com/questions/62931950/different-results-of-math-hypot-on-chrome-and-firefox
# Number static method suggestions are mostly convention churn and increase bundle size.
# TODO comments are tracked in source and should not fail Sonar analysis.
# Optional chaining is available in eslint, no need to have it in sonar
sonar.issue.ignore.multicriteria=e1,e2,e3,e4
sonar.issue.ignore.multicriteria.e1.ruleKey=typescript:S7769
sonar.issue.ignore.multicriteria.e1.resourceKey=**
sonar.issue.ignore.multicriteria.e2.ruleKey=typescript:S7773
sonar.issue.ignore.multicriteria.e2.resourceKey=**
sonar.issue.ignore.multicriteria.e3.ruleKey=typescript:S1135
sonar.issue.ignore.multicriteria.e3.resourceKey=**
sonar.issue.ignore.multicriteria.e4.ruleKey=typescript:S6582
sonar.issue.ignore.multicriteria.e4.resourceKey=**