Skip to content

Commit 911cb7c

Browse files
committed
Update documentation with Typescript example
1 parent b8fa0a4 commit 911cb7c

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
[![MELPA Stable](https://stable.melpa.org/packages/lsp-sonarlint-badge.svg)](https://stable.melpa.org/#/lsp-sonarlint)
55
<a href="https://www.sonarlint.org/"> <img align="right" width="120" src="./images/SonarLint_icon.svg"></a>
66

7-
8-
97
SonarLint™ is a free IDE extension that lets you fix coding issues before they exist!
108

119
Like a spell checker,it highlights Bugs and Security Vulnerabilities as you write code, with clear remediation guidance so you can fix them before the code is even committed.
@@ -64,7 +62,7 @@ the URL defined in **lsp-sonarlint-LANGUAGENAME-download-url**.
6462

6563

6664
#### Complete config example
67-
In this example, we have a multiple language project, with javascript,HTML and PHP:
65+
In this example, we have a multiple language project, with Javascript Typescript, HTML and PHP:
6866

6967
``` lisp
7068
(require 'lsp-sonarlint)
@@ -75,12 +73,14 @@ In this example, we have a multiple language project, with javascript,HTML and P
7573
(require 'lsp-sonarlint-html)
7674
(setq lsp-sonarlint-html-enabled t)
7775
78-
7976
(require 'lsp-sonarlint-javascript)
8077
(setq lsp-sonarlint-javascript-enabled t)
8178
79+
(require 'lsp-sonarlint-typescript)
80+
(setq lsp-sonarlint-typescript-enabled t)
8281
```
83-
Now we can active the lsp extension.
82+
83+
Now we can activate the lsp extension.
8484

8585
The extension will check every plugin path and ask if it is not find to download it,
8686
the default path is defined in **lsp-sonarlint-LANGUAGENAME-analyzer-path**.
@@ -118,8 +118,6 @@ This settigns are common for all the language plugins.
118118
* `lsp-sonarlint-LANGUAGE-doc-url` - Sonarsource official plugin documentation
119119
* `lsp-sonarlint-LANGUAGE-repository-url` - Plugin source code
120120

121-
122-
123121
## Data and telemetry
124122

125123
This extension collects anonymous usage data and sends it to SonarSource.
@@ -135,7 +133,6 @@ Click [here](https://github.com/SonarSource/sonarlint-vscode/blob/master/telemet
135133
* [treemacs](https://github.com/Alexander-Miller/treemacs) : Project viewer.
136134
* [lsp-treemacs](https://github.com/emacs-lsp/lsp-treemacs) : `lsp-mode` GUI controls implemented using treemacs.
137135

138-
139136
## Contributions
140137

141138
Contributions are very much welcome.

0 commit comments

Comments
 (0)