Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixes flutter#6
  • Loading branch information
davidmorgan authored Sep 6, 2018
1 parent e122859 commit 9a94e8f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,15 @@ Here is how static analysis is used internally at Google:
The currently enabled lints can be found in the sample
[analysis_options.yaml](https://github.com/dart-lang/pedantic/blob/master/lib/analysis_options.yaml).

To use those lints you can add a dev dependency in your `pubspec.yaml`:
To use those lints you can add a dependency in your `pubspec.yaml`:

```yaml
# If you also need to import `package:pedantic/pedantic.dart`, it's a
# normal dependency.
dependencies:
pedantic: '1.1.0'

# Or, if you just want `analysis_options.yaml`, it can be a dev dependency.
dev_dependencies:
pedantic: '1.1.0'
```
Expand Down

0 comments on commit 9a94e8f

Please sign in to comment.