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/build.gradle | |
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/build.gradle')
-rw-r--r-- | language-web/build.gradle | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/language-web/build.gradle b/language-web/build.gradle index 526ba2da..15d743b9 100644 --- a/language-web/build.gradle +++ b/language-web/build.gradle | |||
@@ -145,4 +145,6 @@ sonarqube.properties { | |||
145 | property 'sonar.nodejs.executable', "${nodeDirectory}/bin/node" | 145 | property 'sonar.nodejs.executable', "${nodeDirectory}/bin/node" |
146 | property 'sonar.eslint.reportPaths', "${buildDir}/eslint.json" | 146 | property 'sonar.eslint.reportPaths', "${buildDir}/eslint.json" |
147 | property 'sonar.css.stylelint.reportPaths', "${buildDir}/stylelint.json" | 147 | property 'sonar.css.stylelint.reportPaths', "${buildDir}/stylelint.json" |
148 | // SonarJS does not pick up typescript files with `exactOptionalPropertyTypes` | ||
149 | property 'sonar.typescript.tsconfigPath', 'tsconfig.sonar.json' | ||
148 | } | 150 | } |