cool_linter 0.0.4 cool_linter: ^0.0.4 copied to clipboard
cool_linter
Cool linter #
Usage #
-
Add dependency to
pubspec.yaml
dev_dependencies: cool_linter: ^0.0.3
-
Add configuration to
analysis_options.yaml
analyzer: plugins: - cool_linter cool_linter: exclude_words: - pattern: Colors hint: Use colors from design system instead! severity: WARNING - pattern: Test123{1} severity: ERROR
pattern - RegExp-pattern, for example: Test123{1}, ^Test123$ and others severity - [optional parameter]. It is console information level. May be WARNING, INFO, ERROR. Default is WARNING hint - [optional parameter]. It is console information sentence 3. Result
example: