Skip to content

Commit 93ec692

Browse files
committed
Add excludes
1 parent 76e7220 commit 93ec692

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

analysis_options.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,19 @@ dart_code_metrics:
156156
maximum-nesting-level: 5
157157
metrics-exclude:
158158
- test/**
159+
exclude:
160+
unused-code:
161+
# TODO(https://github.com/dart-lang/sdk/issues/63864): clean up these
162+
# paths once this issue is fixed. These paths are currently relative to
163+
# devtools_app/.
164+
# TODO(https://github.com/flutter/devtools/issues/9906) remove these
165+
# excludes as findings are resolved.
166+
- lib/src/extensions/**
167+
- lib/src/framework/**
168+
- lib/src/screens/**
169+
- lib/src/shared/**
170+
- lib/src/standalone_ui/**
171+
- test/
159172
rules:
160173
# - arguments-ordering Too strict
161174
# - avoid-banned-imports # TODO(polina-c): add configuration

0 commit comments

Comments
 (0)