From a16315d379b674323f67494d7656bcca05974485 Mon Sep 17 00:00:00 2001 From: Marco Comi Date: Fri, 8 Jul 2022 16:37:58 +0200 Subject: [PATCH] SonarLint description updated for Java, added for JS --- docs/java/java-linting.md | 2 +- docs/nodejs/extensions.md | 13 +++++++++++++ docs/nodejs/images/extensions/sonarlint.gif | 3 +++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 docs/nodejs/images/extensions/sonarlint.gif diff --git a/docs/java/java-linting.md b/docs/java/java-linting.md index 87cf178b4..1439da1ea 100644 --- a/docs/java/java-linting.md +++ b/docs/java/java-linting.md @@ -61,7 +61,7 @@ You can also undo and redo changes. ## SonarLint -The [SonarLint](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarlint-vscode) extension lets you detect bugs and vulnerabilities as you write code in VS Code. Java is one of the languages supported. The extension runs in the background and highlights source code that poses a quality or security concern. +[SonarLint](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarlint-vscode) is an easy-to-use extension that helps you find & fix bugs and security issues as you code. The extension runs in the background and just like a spell checker highlights source code issues that pose a quality or security concern. The plugin not only tells you what the issue is but also provides in-context guidance on why it’s harmful and how to fix it, with easy-to-understand related examples. The extension supports over [500+ Java rules](https://rules.sonarsource.com/java) and includes several [quick fixes](https://rules.sonarsource.com/java/quickfix) to automatically fix certain quality issues. ### Code analysis on the fly diff --git a/docs/nodejs/extensions.md b/docs/nodejs/extensions.md index 06e21c2e3..190e1787b 100644 --- a/docs/nodejs/extensions.md +++ b/docs/nodejs/extensions.md @@ -44,6 +44,19 @@ Read more about setting up JavaScript linters in the VS Code [documentation](/do ![eslint animation](images/extensions/eslint.gif) +### SonarLint + +Easy-to-use extension that helps you find & fix bugs and security issues as you code. The plugin runs in the background and just like a spell checker squiggles coding issues. The plugin not only tells you what the issue is but also provides in-context guidance on why it’s harmful and how to fix it, with easy-to-understand related examples. The IDE extension supports [200+ JS/TS rules](https://rules.sonarsource.com/javascript) and includes several [quick fixes](https://rules.sonarsource.com/javascript/quickfix) to automatically handle your coding issues. + +Marketplace - [SonarLint](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarlint-vscode) + +Publisher - [Sonar](https://github.com/SonarSource/sonarlint-vscode) + +How to install - Search for SonarLint in the VS Code Marketplace and install. No configuration is required. You can start with a default profile that fits most users and customize it based on your specific needs. + +sonarlint animation + + ### JavaScript (ES6) code snippets Marketplace - [JavaScript (ES6) code snippets](https://marketplace.visualstudio.com/items?itemName=xabikos.JavaScriptSnippets) diff --git a/docs/nodejs/images/extensions/sonarlint.gif b/docs/nodejs/images/extensions/sonarlint.gif new file mode 100644 index 000000000..0d9166f9b --- /dev/null +++ b/docs/nodejs/images/extensions/sonarlint.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40eb2365f34423f2832c9c9295715a34c3155932925517f437330b628191d25e +size 993353