We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e122859 commit 9a94e8fCopy full SHA for 9a94e8f
README.md
@@ -36,9 +36,15 @@ Here is how static analysis is used internally at Google:
36
The currently enabled lints can be found in the sample
37
[analysis_options.yaml](https://github.com/dart-lang/pedantic/blob/master/lib/analysis_options.yaml).
38
39
-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`:
40
41
```yaml
42
+# If you also need to import `package:pedantic/pedantic.dart`, it's a
43
+# normal dependency.
44
+dependencies:
45
+ pedantic: '1.1.0'
46
+
47
+# Or, if you just want `analysis_options.yaml`, it can be a dev dependency.
48
dev_dependencies:
49
pedantic: '1.1.0'
50
```
0 commit comments