We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69ceaeb commit 0b35a25Copy full SHA for 0b35a25
src/content/tools/linter-rules/individual-rules.md
@@ -9,7 +9,7 @@ underscore_breaker_titles: true
9
eleventyComputed:
10
permalink: "/tools/linter-rules/{{lint.name}}.html"
11
title: "{{ lint.name }}"
12
- description: "Learn more about the {{ lint.name }} linter rule."
+ description: "Learn about the {{ lint.name }} linter rule."
13
skipFreshness: true
14
---
15
@@ -85,3 +85,12 @@ linter:
85
rules:
86
- {{lint.name}}
87
```
88
+
89
+If you're instead using the YAML map syntax to configure linter rules,
90
+add `{{lint.name}}: true` under **linter > rules**:
91
92
+```yaml title="analysis_options.yaml"
93
+linter:
94
+ rules:
95
+ {{lint.name}}: true
96
+```
0 commit comments