File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+ ## 0.0.9
2+
3+ - Disable cyclomatic complexity metric for tests
4+
15## 0.0.8
26
37- Exclude generated files
Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ dart_code_metrics:
1111# Both options didn't look right, so we decided that tests are ok to be long.
1212 source-lines-of-code : false
1313
14+ # Since we're not using the source-lines-of-code rule, `main()` function in test can
15+ # have high cyclomatic complexity.
16+ # For rationale against splitting up `main()` in tests, see `source-lines-of-code` comments.
17+ cyclomatic-complexity : false
18+
1419 rules :
1520
1621# Late keyword is allowed in tests in order to enable the use of custom mocks and
Original file line number Diff line number Diff line change 11name : solid_lints
22description : Lints for Dart and Flutter based on software industry standards and best practices.
3- version : 0.0.8
3+ version : 0.0.9
44homepage : https://github.com/solid-software/solid_lints/
55
66environment :
You can’t perform that action at this time.
0 commit comments