Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
➖ remove dart_code_metrics from dev_dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
techouse committed Jul 9, 2023
1 parent 4562c12 commit b44f5f9
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 178 deletions.
22 changes: 0 additions & 22 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,5 @@
include: package:lints/recommended.yaml

analyzer:
plugins:
- dart_code_metrics

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
- no-empty-block
- prefer-trailing-comma
- prefer-conditional-expressions
- no-equal-then-else
anti-patterns:
- long-method
- long-parameter-list

linter:
rules:
avoid_print: true
Expand Down
Loading

0 comments on commit b44f5f9

Please sign in to comment.