Created
December 12, 2021 08:02
-
-
Save rutvik110/d2b34719e1dfaca8ecf544f654bbae9d to your computer and use it in GitHub Desktop.
Analysis Options file for flutter projects which uses VGV analysis and dart-code-metrics.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include: package:very_good_analysis/analysis_options.yaml | |
linter: | |
rules: | |
analyzer: | |
exclude: | |
- test/ | |
plugins: | |
- dart_code_metrics | |
# errors: | |
dart_code_metrics: | |
metrics: | |
cyclomatic-complexity: 20 | |
number-of-arguments: 4 | |
maximum-nesting-level: 5 | |
metrics-exclude: | |
- test/** | |
rules: | |
- newline-before-return | |
- no-boolean-literal-compare | |
- prefer-trailing-comma | |
- prefer-conditional-expressions | |
- no-equal-then-else | |
anti-patterns: | |
- long-method | |
- long-parameter-list | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment