Skip to content

Commit a4042f8

Browse files
solid-illiaaihistovIllia Aihistov
andauthored
docs: fix setup instructions by requiring plugins block (#326)
Co-authored-by: Illia Aihistov <illia.aihistov-us@solid.software>
1 parent 76ba9ee commit a4042f8

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,13 @@ dev_dependencies:
2121
2222
Enable the plugin and include `solid_lints` in your project's top-level `analysis_options.yaml`:
2323

24-
### Option 1: Using the `plugins` block
25-
2624
```yaml
2725
include: package:solid_lints/analysis_options.yaml
2826
2927
plugins:
3028
solid_lints:
3129
```
3230

33-
### Option 2: Using the top-level `solid_lints` block
34-
35-
```yaml
36-
include: package:solid_lints/analysis_options.yaml
37-
38-
solid_lints:
39-
```
40-
4131
Also, you can use a specialized rule set designed for Dart tests.
4232
Add an `analysis_options.yaml` file under the `test/` directory, and include the ruleset:
4333

0 commit comments

Comments
 (0)