]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-13576 Remove sonar-typescript-plugin (#2920)
authorTibor Blenessy <tibor.blenessy@sonarsource.com>
Tue, 21 Jul 2020 14:02:05 +0000 (16:02 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 21 Jul 2020 20:05:29 +0000 (20:05 +0000)
* SONAR-13576 Remove sonar-typescript-plugin

* Update sonar-javascript-plugin to 6.3.0.12464

build.gradle
server/sonar-docs/src/pages/analysis/languages/overview.md
server/sonar-docs/src/pages/analysis/languages/typescript.md [deleted file]
server/sonar-docs/static/SonarCloudNavigationTree.json
server/sonar-docs/static/SonarQubeNavigationTree.json
server/sonar-docs/static/StaticNavigationTree.json
sonar-application/bundled_plugins.gradle

index b85127053bb50de4e6c2c3dbe9e941873595182a..d307531b1d55a0d56f7275924c942bf1e3b32c9b 100644 (file)
@@ -179,7 +179,7 @@ subprojects {
       dependency 'org.sonarsource.html:sonar-html-plugin:3.2.0.2082' // bundled_plugin:web:sonar-html
       dependency 'org.sonarsource.jacoco:sonar-jacoco-plugin:1.1.0.898' // bundled_plugin:jacoco:sonar-jacoco
       dependency 'org.sonarsource.java:sonar-java-plugin:6.5.1.22586' // bundled_plugin:java:sonar-java
-      dependency 'org.sonarsource.javascript:sonar-javascript-plugin:6.2.1.12157' // bundled_plugin:javascript:SonarJS
+      dependency 'org.sonarsource.javascript:sonar-javascript-plugin:6.3.0.12464' // bundled_plugin:javascript:SonarJS
       dependency 'org.sonarsource.php:sonar-php-plugin:3.5.0.5655' // bundled_plugin:php:sonar-php
       dependency 'org.sonarsource.python:sonar-python-plugin:2.13.0.7236' // bundled_plugin:python:sonar-python
       dependency 'org.sonarsource.scm.git:sonar-scm-git-plugin:1.12.0.2034' // bundled_plugin:scmgit:sonar-scm-git
@@ -188,7 +188,6 @@ subprojects {
       dependency 'org.sonarsource.slang:sonar-kotlin-plugin:1.5.0.315' // bundled_plugin:kotlin:slang-enterprise
       dependency 'org.sonarsource.slang:sonar-ruby-plugin:1.5.0.315' // bundled_plugin:ruby:slang-enterprise
       dependency 'org.sonarsource.slang:sonar-scala-plugin:1.5.0.315' // bundled_plugin:sonarscala:slang-enterprise
-      dependency 'org.sonarsource.typescript:sonar-typescript-plugin:2.1.0.4359' // bundled_plugin:typescript:SonarTS
       dependency 'org.sonarsource.xml:sonar-xml-plugin:2.0.1.2020' // bundled_plugin:xml:sonar-xml
 
       // please keep this list alphabetically ordered
index 8ab0c8491079bbb071d04dfb54005ba241600a10..373083a276ad2d85ff8ea3ef9db62d41f7a1d020 100644 (file)
@@ -28,7 +28,7 @@ SonarQube allows to analyze different languages depending on the Edition you are
 | [Ruby](/analysis/languages/ruby/)             | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg)                    |
 | [Scala](/analysis/languages/scala/)           | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg)                    |
 | [Swift](/analysis/languages/swift/)           |                        | ![](/images/check.svg) | ![](/images/check.svg)                    |
-| [TypeScript](/analysis/languages/typescript/) | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg)                    |
+| [TypeScript](/analysis/languages/javascript/) | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg)                    |
 | [TSQL](/analysis/languages/tsql/)             |                        | ![](/images/check.svg) | ![](/images/check.svg)                    |
 | [VB.NET](/analysis/languages/vbnet/)          | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg)                    |
 | [VB6](/analysis/languages/vb6/)               |                        |                        | ![](/images/check.svg)                    |
diff --git a/server/sonar-docs/src/pages/analysis/languages/typescript.md b/server/sonar-docs/src/pages/analysis/languages/typescript.md
deleted file mode 100644 (file)
index c1d6130..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: TypeScript
-url: /analysis/languages/typescript/
----
-
-<!-- static -->
-<!-- update_center:typescript -->
-<!-- /static -->
-
-
-## Prerequisites
-
-In order to analyze TypeScript code, you need to have Node.js >= 8 installed on the machine running the scan. Set property `sonar.typescript.node` to an absolute path to Node.js executable, if standard `node` is not available.
-
-Also make sure to have [TypeScript](https://www.npmjs.com/package/typescript) as a project dependency or dev dependency. If it's not the case, add it:
-```
-cd <your-project-folder>
-npm install -D typescript
-```
-If you can't have TypeScript as a project dependency you can set your `NODE_PATH` variable to point to your globally installed TypeScript (but this is generally discouraged by the Node.js documentation).
-
-## Language-Specific Properties
-
-Discover and update the TypeScript-specific properties in: **<!-- sonarcloud -->Project <!-- /sonarcloud -->[Administration > General Settings > TypeScript](/#sonarqube-admin#/admin/settings?category=typescript)**
-
-## Supported Frameworks and Versions
-* TypeScript >= 2.2
-
-## Rule Profiles
-
-There are 2 built-in rule profiles for TypeScript: `Sonar way` (default) and `Sonar way Recommended`.
-* `Sonar way` profile is activated by default. It defines a trimmed list of high-value/low-noise rules useful in almost any TS development context.
-* `Sonar way Recommended` contains all rules from `Sonar way`, plus more rules that mandate high code readability and long-term project evolution.
-
-## Related Pages
-
-* [Test Coverage & Execution](/analysis/coverage/) (LCOV format)
-* [Importing External Issues](/analysis/external-issues/) (TSLint)
-* [SonarTS Plugin for TSLint](https://www.npmjs.com/package/tslint-sonarts)
-* [Sample TypeScript Project](https://github.com/SonarSource/SonarTS-example/)
index 4b8c1bd64baccafedc18acc0219f2cf68b80ae43..1068e470de7ea9b8a9e7a76e66c74e03c2e80ff7 100644 (file)
@@ -30,7 +30,6 @@
           "/analysis/languages/scala/",
           "/analysis/languages/swift/",
           "/analysis/languages/tsql/",
-          "/analysis/languages/typescript/",
           "/analysis/languages/vbnet/",
           "/analysis/languages/xml/"
         ]
index 96563ec18ba01360614999b0ded9328c07cd61b4..27a3c7844c40d20421b58b4aef7961eb5120ee15 100644 (file)
@@ -47,7 +47,6 @@
           "/analysis/languages/ruby/",
           "/analysis/languages/scala/",
           "/analysis/languages/swift/",
-          "/analysis/languages/typescript/",
           "/analysis/languages/tsql/",
           "/analysis/languages/vbnet/",
           "/analysis/languages/vb6/",
index 10e5f7be86e64003f6946b99138da7d9dc445527..8542b08c480854625eb3a85d7d8743d8cfabfd31 100644 (file)
@@ -69,7 +69,6 @@
           "/analysis/languages/ruby/",
           "/analysis/languages/scala/",
           "/analysis/languages/swift/",
-          "/analysis/languages/typescript/",
           "/analysis/languages/tsql/",
           "/analysis/languages/vbnet/",
           "/analysis/languages/vb6/",
index 4867e92946ed54e7ee3073cf3bd056abaae9ffb8..50f146c15e9916d77e0997e3cc56920e43e3f1a6 100644 (file)
@@ -15,6 +15,5 @@ dependencies {
     bundledPlugin 'org.sonarsource.scm.git:sonar-scm-git-plugin@jar'
     bundledPlugin 'org.sonarsource.scm.svn:sonar-scm-svn-plugin@jar'
     bundledPlugin "org.sonarsource.slang:sonar-scala-plugin@jar"
-    bundledPlugin 'org.sonarsource.typescript:sonar-typescript-plugin@jar'
     bundledPlugin 'org.sonarsource.xml:sonar-xml-plugin@jar'
 }