Comments (2)
Here's the sonar-properties.yaml
:
# Project identification
sonar.host.url=http://localhost:9000/
sonar.projectKey=MAP-FE
sonar.projectName=MAP-FE
sonar.projectVersion=2.6.0
sonar.token=token
# Source code location.
# Path is relative to the sonar-project.properties file. Defaults to .
# Use commas to specify more than one folder.
sonar.sources=lib
sonar.tests=test
# Encoding of the source code. Default is default system encoding.
sonar.sourceEncoding=UTF-8
# Analyzer mode
# Can be:
# - DETECT (attempt to detect automatically) - default
# - MANUAL (an existing report needs to be provided)
# - FLUTTER (flutter analyze)
# - DART (dart analyze)
# - DARTANALYZER (dartanalyzer)
# sonar.dart.analyzer.mode=MANUAL
# Allows reuse of an existing analyzer report when mode is MANUAL
# sonar.dart.analyzer.report.path=analysis-results.txt
# Analyzer report output mode
# Can be:
# - DETECT (attempt to detect automatically, requires Dart SDK on the PATH) - default
# - MACHINE (a new machine readable output that is available for Dart 2.12+)
# - LEGACY (attempts to parse human readable output from dart/flutter) - default
# sonar.dart.analyzer.report.mode=MACHINE
sonar.qualitygate.wait=true
sonar.flutter.coverage.reportPath=coverage/lcov.info
sonar.dart.analyzer.options.override=false
sonar.coverage.exclusions=lib/core/presentation/global_components/*.dart,\
lib/core/presentation/global_bloc_components/*.dart,\
lib/core/presentation/global_page/*.dart,\
lib/features/*/presentation/components/*.dart,\
lib/features/*/presentation/pages/*.dart,\
**/presentation/data_table_source/*.dart,\
**/presentation/mixins/*.dart,\
lib/application/config/app_router/*,\
lib/core/di/injector.config.dart,\
lib/core/resources/*,\
Here's the intentional code smell that i put on the code:
- Avoid final parameters rule
Here's the output from the SQ Dashboard:
from sonar-flutter.
Will close this one now. I figured out that there are only 133 rules are activated on dartanalyzer
quality profile. What I did is to expand and activate other rules. This may help on others may experience this kind of issue.
from sonar-flutter.
Related Issues (20)
- 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
- 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
- Flutter plugin installed but not used is sonar-scanner-cli HOT 6
- dartanalyzer rules disappeared from SonarQube quality profile
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.