Closed amrgetment closed 2 months ago
I tried this command and it didn’t show any issue too
dart run custom_lint
We'll probably need a complete code to reproduce the issue, could you please create some simple project with it?
Here is my repo, I made a class called dojo.dart with class name Foo and I used this lint prefer_match_file_name https://github.com/amrgetment/flutter_web_error
@amrgetment, you should use the following notation to enable custom lint rules:
custom_lint:
rules:
- prefer_match_file_name
instead of
custom_lint:
- prefer_match_file_name
Thanks, works fine now
I wonder why do I have to use dart run custom_lint
but not dart analyze
I tried the lints and it didn't work, what I am missing here? I didn’t use include as I want one lint only