Skip to content

Commit 4829499

Browse files
committed
Fix #192: Add analyzer.plugins setup to documentation and test configuration
1 parent ee3e27d commit 4829499

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ Add an `analysis_options.yaml` file under the `test/` directory, and include the
3030

3131
```yaml
3232
include: package:solid_lints/analysis_options_test.yaml
33+
34+
analyzer:
35+
plugins:
36+
- custom_lint
3337
```
3438

3539
Then you can see suggestions in your IDE or you can run checks manually:

lib/analysis_options_test.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
include: package:solid_lints/analysis_options.yaml
22

3+
analyzer:
4+
plugins:
5+
- custom_lint
6+
37
custom_lint:
48
rules:
59
# Tests usually organized in one large main() function making this rule not applicable.

0 commit comments

Comments
 (0)