diff --git a/analysis_options.yaml b/analysis_options.yaml index 1489415f..a9d10322 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -25,35 +25,3 @@ analyzer: # needed until crypto packages upgrade - lib/src/database/database.g.dart plugins: - # Show code metrics in IDE - # - dart_code_metrics - -dart_code_metrics: - metrics: - cyclomatic-complexity: 20 - number-of-arguments: 4 - maximum-nesting-level: 5 - source-lines-of-code: 50 - # This is still unstable, so handle with care - maintainability-index: 40 - metrics-exclude: - - test/** - rules: - #- newline-before-return - - no-boolean-literal-compare - - no-empty-block - #- prefer-trailing-comma - - prefer-conditional-expressions - - no-equal-arguments - - no-equal-then-else - - no-magic-number: - severity: style # too noisy otherwise atm - - avoid-late-keyword: - severity: style # too noisy otherwise atm - - avoid-non-null-assertion: - severity: style # too noisy otherwise atm - - avoid-unused-parameters - - binary-expression-operand-order - anti-patterns: - - long-method - - long-parameter-list diff --git a/pubspec.yaml b/pubspec.yaml index 39fd1837..0e34b66c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -33,7 +33,6 @@ dependencies: dev_dependencies: coverage: ">=0.15.0 <2.0.0" - dart_code_metrics: ^4.10.1 file: ^6.1.1 import_sorter: ^4.6.0 lints: ^2.0.0