Skip to content

Commit e9b8af3

Browse files
authored
Update README.md (#239)
1 parent 6d4425e commit e9b8af3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ To create a custom lint, you will need two things:
9595
- create a `lib/<my_package_name>.dart` file in your project with the following:
9696

9797
```dart
98+
import 'package:analyzer/error/listener.dart';
99+
import 'package:custom_lint_builder/custom_lint_builder.dart';
100+
98101
// This is the entrypoint of our custom linter
99102
PluginBase createPlugin() => _ExampleLinter();
100103

0 commit comments

Comments
 (0)