title: How to integrate sonar for a Node JS project?
body: <p>I have integrated sonarqube to my Node JS project which am working and it seems to be working fine with the javascript plugin. 
  I would like to know if there is any way we can specifically mention sonarqube to check the javascript as Node JS?</p>
  
  <p>The configurations to run sonar is specified in the gruntfile.js as below,</p>
  
  <pre><code>sonarRunner: {
      analysis: {
          options: {
              debug: true,
              separator: '\n',
              dryRun: false,
              sonar: {
                  host: {
                      url: 'http://localhost:9000'
                  },
                  jdbc: {
                      url: 'jdbc:mysql://localhost:3306/sonar?useUnicode=true&amp;characterEncoding=utf8&amp;rewriteBatchedStatements=true&amp;useConfigs=maxPerformance',
                      username: 'root',
                      password: 'root'
                  },
  
                  projectKey: 'sonar:grunt-sonar-runner:0.1.0',
                  projectName: 'Grunt Sonar Runner',
                  projectVersion: '0.10',
                  sources: '/app/scripts/controllers',
                  language:'js',
                  sourceEncoding: 'UTF-8'
              }
          }
      }
  }
  </code></pre>