File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,13 @@ And then include `solid_lints` into your project top-level `analysis_options.yam
2323
2424` ` ` yaml
2525include: package:solid_lints/analysis_options.yaml
26+
27+ analyzer:
28+ plugins:
29+ - custom_lint
2630` ` `
31+ > Add `custom_lint` under `analyzer.plugins` to enable lint rules.
32+
2733
2834Also you can use a specialized rule set designed for Dart tests.
2935Add an `analysis_options.yaml` file under the `test/` directory, and include the ruleset :
Original file line number Diff line number Diff line change 11analyzer :
2- plugins :
3- - custom_lint
42 exclude :
53 # General generated files
64 - ' **/*.g.dart'
@@ -59,7 +57,7 @@ custom_lint:
5957 - double_literal_format
6058
6159 - function_lines_of_code :
62- max_lines : 200
60+ max_lines : 190
6361
6462 - member_ordering :
6563 order :
You can’t perform that action at this time.
0 commit comments