cool_linter 0.0.6
cool_linter: ^0.0.6 copied to clipboard
cool_linter
Cool linter #
Usage #
-
Add dependency to
pubspec.yamldev_dependencies: cool_linter: ^0.0.5 -
Add configuration to
analysis_options.yamlanalyzer: 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
Attention!!! #
You must restart your IDE for starting plugin #
- Result
example: [Screenshot] [Screenshot] [Screenshot]