We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 027cfa6 commit 5a633ceCopy full SHA for 5a633ce
2 files changed
README.template
@@ -10,7 +10,7 @@ To use the recommended lint rules drop the following into your `analysis_options
10
plugins:
11
grumpy_lints:
12
diagnostics:
13
-{{yaml_rules(4)}}
+{{yaml_rules(3)}}
14
```
15
16
bin/readme.dart
@@ -71,7 +71,7 @@ void main(List<String> args) {
71
72
final yamlMatch = yamlRulesRegex.firstMatch(template)!;
73
74
- final indent = ' ' * int.parse(match.group(1) ?? '0');
+ final indent = ' ' * int.parse(yamlMatch.group(1) ?? '0');
75
76
final yamlRules = rules.map((r) => '$indent${r.name}: true').join('\n');
77
0 commit comments