diff options
author | Kristóf Marussy <kristof@marussy.com> | 2021-10-06 02:02:33 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2021-10-06 02:02:33 +0200 |
commit | 7a82febe727c6281a81157e99d18b563ec5e776b (patch) | |
tree | 2ae42b1d87fa4856e51a0e906c5d169e73d7f472 /language-web/tsconfig.sonar.json | |
parent | ci(web): add eslint and stylelint to sonar (diff) | |
download | refinery-7a82febe727c6281a81157e99d18b563ec5e776b.tar.gz refinery-7a82febe727c6281a81157e99d18b563ec5e776b.tar.zst refinery-7a82febe727c6281a81157e99d18b563ec5e776b.zip |
ci(web): no typescript 4.4 features in Sonar
See https://github.com/SonarSource/SonarJS/issues/2802 and
https://community.sonarsource.com/t/sonarcloud-not-picking-up-typescript-files/50832
Diffstat (limited to 'language-web/tsconfig.sonar.json')
-rw-r--r-- | language-web/tsconfig.sonar.json | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/language-web/tsconfig.sonar.json b/language-web/tsconfig.sonar.json new file mode 100644 index 00000000..1cc74f23 --- /dev/null +++ b/language-web/tsconfig.sonar.json | |||
@@ -0,0 +1,19 @@ | |||
1 | { | ||
2 | "compilerOptions": { | ||
3 | "target": "ES2020", | ||
4 | "module": "ES2020", | ||
5 | "moduleResolution": "node", | ||
6 | "paths": { | ||
7 | "xtext/*": ["./src/main/js/xtext/*"] | ||
8 | }, | ||
9 | "esModuleInterop": true, | ||
10 | "allowSyntheticDefaultImports": true, | ||
11 | "jsx": "react", | ||
12 | "strict": true, | ||
13 | "noImplicitOverride": true, | ||
14 | "noImplicitReturns": true, | ||
15 | "noEmit": true | ||
16 | }, | ||
17 | "include": ["./src/main/js/**/*"], | ||
18 | "exclude": ["./src/main/js/xtext/**/*"] | ||
19 | } | ||