An example on building dart custom lints with custom_lint
package.
Check out the blog Custom lints for your Dart/Flutter project to understand how this was built.
dont_say_his_name
-> Voldemort's name shouldn't be mentioned in a variable nameutil_methods_be_static
-> All methods in aUtils
class must bestatic
one_service_class_per_file
-> Only oneService
class allowed per file
- Insert a random spell in the string literal