Html,Css,Js file excluded

Please provide

  • Operating system: Windows 10
  • SonarLint plugin version: 9.0.0.75308
  • Programming language you’re coding in: Java
  • Is connected mode used:
    • Connected to SonarQube (10.1.0.73491):

And a thorough description of the problem / question:

Trigger: BINDING_UPDATE
[BINDING_UPDATE] 10 file(s) submitted
File 'application.yml' excluded: file is classified as Java resource in project structure
File 'faq.html' excluded: file is classified as Java resource in project structure
File 'tableauBasic.css' excluded: file is classified as Java resource in project structure
File 'viewck.css' excluded: file is classified as Java resource in project structure
File 'naver8e3c89d3c72e08d51a9d2061f3277a03.html' excluded: file is classified as Java resource in project structure
File 'privacypolicy.docx.html' excluded: file is classified as Java resource in project structure
File 'join_us.html' excluded: file is classified as Java resource in project structure
File 'index.html' excluded: file is classified as Java resource in project structure
Configuring analysis with org.sonarlint.intellij.java.JavaAnalysisConfigurator
Using connection 'localtest' for project 'test'

I’m having a problem analyzing html,css,js files.
They are in src/main/resources directory and files in this directory are not automatically analyzed.
Other files that are in src/main/java directory are java files and automatically analyzed well.
How can I figure this out?

Hi @iglu123, thank you for using SonarLint!

During an on the fly analysis of a Java project, we do not analyze files within the resource folders. If you trigger a manual analysis on those files, this should work.

1 Like

Thx for the Reply! I should handle it manually.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.