groupe-sii / sonar-web-frontend-plugin

Sonar plugin to add metrics for web technologies (JS, CSS, HTML, SASS, AngularJS...)
Apache License 2.0
115 stars 26 forks source link

Sonar front end plugin installed and ran successfully but displays errors only when angular-eslint.json configured #42

Open sree526 opened 7 years ago

sree526 commented 7 years ago

Hi guys, I have tried to use sonar-web-frontend plugin for my angularjs project. Initially after setting up everything I wasn't getting any sort of errors. But after that I have given the report path in sonar.project properties file by the generating the report through sonar-webfrontend-reporter plugin in node. I have given some custom rules in .eslintrc file for angularjs. After that it has generated a report. I have given that report path in sonar properties file and ran the sonar-scanner command then I was able to see the bugs in sonar dashboard. After running it for once I have removed the eslint-angular.json path from sonar-properties and activated some rules in dashboard then it's working fine. I am not able to understand what's happening here. Why it isn't working intially but only working after configuring .eslintrc file for once. Please help me out .