Comments (10)
Hi,
I've juste released version 0.3.0 with @stephanecodes PR.
You can use sonar.dart.analysis.useExistingOptions=true in your sonar-project.properties files to use your own analysis-options.yaml
I'm closing the issue.
from sonar-flutter.
I created PR #20 one month ago to add this feature. Meanwhile you can switch to my branch.
from sonar-flutter.
Here is the one I'm using :
sonar-flutter-plugin-0.2-SNAPSHOT-PR20.zip
Follow the documentation update to configure it
https://github.com/stephanecodes/sonar-flutter/tree/feature/allow-existing-analysis-options#use-existing-analysis-options
from sonar-flutter.
I have the same problem.
It should be possible to disable some checks and use the project analysis-options.yaml
file and not the one bundled in the plugin.
from sonar-flutter.
Will try to build your branch as soon as OpenJDK site resurrect (is currently unreachable) to download OpenJDK 11 which is required to build the plugin.
from sonar-flutter.
Thank you for the help but for security reasons I can't install a JAR which is not coming from a "trusted" source.
I will wait until OpenJDK is back and will test your changes :)
from sonar-flutter.
Ok ;)
If by installing you mean on the global SonarQube of your organization, you can try it locally. I'm using SonarQube 7.9.3 LTS
https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-7.9.3.zip
from sonar-flutter.
I was surprised that the plugin overrides existing analysis-options.yaml
rules in the first place.
I guess the expected behavior would be to use the existing rules, and if there are none, fallback to some default rules (preferably pedantic or effective dart).
from sonar-flutter.
I need this feature. I using pedantic rules, but when run sonar-scan
in my project the analysis-options.yaml
is overrided. Do you have any predictions about that?
from sonar-flutter.
You can either use the one I provided a month ago or wait for the maintainer to merge my PR.
from sonar-flutter.
Related Issues (20)
- Exception on pubspec.yaml with no dependencies HOT 2
- Could not startup process 'flutter analyze --no-fatal-warnings --no-fatal-infos' HOT 4
- Sonar-Flutter Plugin not working in SonarQube 9.9.x or 10.2.x HOT 6
- Simplify "Run analysis" documentation HOT 2
- GitHub actions cannot start up flutter analyze HOT 10
- Issue Multi-Module for code coverage does not show in a report HOT 3
- 'The main branch has no lines of code' problem HOT 4
- Vulnerability issue shows on my local but not SonarQube Dashboard. HOT 2
- Analysis fails if any `pubspec.yaml` file does not have a `dependencies` key HOT 2
- java.lang.IllegalStateException: Error while running 'flutter analyze --no-fatal-warnings --no-fatal-infos' (exit 1): 6632 issues found. (ran in 3.3s) HOT 13
- scanner fails to report the results back to qube - Current edition does not support branch feature HOT 4
- How to scan dependencies HOT 2
- Not getting issue in SonarQube Dashboard and removed existing analysis_options.yaml HOT 6
- Exclusion and lcov HOT 2
- IllegalArgumentException while analyzing Dart of Flutter project
- Files aren't indexed as dart with SonarQube 10.4.1 HOT 2
- [QUESTION] Use sonarlint in connected mode
- [FATAL] Could not startup process 'flutter analyze --no-fatal-warnings --no-fatal-infos'. HOT 1
- [FATAL] pubspec.yaml does not exist in Monorepository
- [QUESTION] Support dart code linter HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonar-flutter.