SonarLint CLI how to configure directory path and other properties

163 views
Skip to first unread message

revda...@gmail.com

unread,
Sep 26, 2016, 12:16:29 PM9/26/16
to SonarLint
I'm trying to configure sonarlint directory path and other properties.
I have created a following file in sonarlint cli bin directory.
I have specified source directory as src. But sonarlint is scanning whole bin directory.
Am I missing anything here. any pointers will be helpful

sonar-source.properties

# Required metadata
sonar.projectKey=org.sonarqube:javascript-simple-sq-scanner
sonar.projectName=JavaScript :: Simple Project :: SonarQube Scanner
sonar.projectVersion=1.0

# Comma-separated paths to directories with sources (required)
sonar.sources=src\

# Language
sonar.language=js

# Encoding of sources files
sonar.sourceEncoding=UTF-8




Julien HENRY

unread,
Sep 27, 2016, 3:30:41 AM9/27/16
to SonarLint, revda...@gmail.com
Hi,

What is this file sonar-source.properties? Have you seen any mention of this in our official documentation?

Regards,

Julien
Reply all
Reply to author
Forward
0 new messages