AEM-Rules-for-SonarQube icon indicating copy to clipboard operation
AEM-Rules-for-SonarQube copied to clipboard

SonarQube plugin with set of rules detecting possible bugs and bad smells specific for AEM development.

Results 31 AEM-Rules-for-SonarQube issues
Sort by recently updated
recently updated
newest added

The new recommended way to register Sling Servlet is via the annotations maintained at https://github.com/apache/sling-org-apache-sling-servlets-annotations (compare with https://sling.apache.org/documentation/the-sling-engine/servlets.html). Using those meta annotations without `@Component` should emit a warning. Would be...

feature

Remember that you can use data-sly-unwrap. A lot of code can be saved by using it proficiently. ```

rule
htl

The process of placing plugins in the SonarQube Marketplace is changing https://community.sonarsource.com/t/no-need-for-new-threads-for-plugin-updates/70351 https://community.sonarsource.com/t/deploying-to-the-marketplace/35236 This is a good moment to document the necessary steps in a `RELEASING.md` document.

Hello, I'm Alex, Product Manager at Sonar. SonarQube 10.4 will come with a feature to only download Sonar analyzers and 3rd-party plugins when they are really required by the Scanner....

Operating system: Windows 10 Enterprise SonarLint plugin version: 8.5.1.75093 Programming language you’re coding in: Java Is connected mode used: Connected to SonarCloud or SonarQube (and which version): SonarQube And a...

These days most of the AEM projects are using OSGI-DS6 or greater annotations for services an all but as per this AEM custom rule it is still being recommended to...

Hi I'm trying to get rid of this code smell but it appears this sonar rule believes the replace method is not mutable ![image](https://user-images.githubusercontent.com/2748821/236419533-7648a735-aea3-4278-85f7-b91ebe9030e3.png) ![image](https://user-images.githubusercontent.com/2748821/236418983-6da92e3b-8ec8-49e8-af6b-1e2a24c6a2ef.png)

enhancement

Hey, folks! I'd wish to discuss some rules related to HTL which is not clear to me " HTL-6 HTL automatically recognises the context for HTML output HTL uses uri...

enhancement
help wanted
htl

According to https://sling.apache.org/documentation/bundles/models.html#a-note-about-cache-true-and-using-the-self-injector the adaptable should not be stored in the model when `cache=true` is used, as this might exhaust the memory easily. A rule to enforce that the adaptable...

rule
feature

The rule described at that `ProviderType` interfaces must not be implemented (or according classes must not be extended) would be helpful to have in SonarQube already. That way issues otherwise...

help wanted
rule