cool_linter 0.0.4 copy "cool_linter: ^0.0.4" to clipboard
cool_linter: ^0.0.4 copied to clipboard

outdated

cool_linter

Cool linter #

Usage #

  1. Add dependency to pubspec.yaml

    dev_dependencies:
      cool_linter: ^0.0.3
    
  2. 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: Screenshot Screenshot Screenshot