custom_code_analysis_plus 1.2.9 copy "custom_code_analysis_plus: ^1.2.9" to clipboard
custom_code_analysis_plus: ^1.2.9 copied to clipboard

custom code analysis rules

Usage #

1.Add dependency to pubspec.yaml

dependencies:
  custom_code_analysis: ^1.2.2

2.Add configuration to analysis_options.yaml

analyzer:
  plugins:
    - custom_code_analysis

custom_code_analysis:
  exclude:
      - "test/**"
  rules:
    - clickable-widget-uuid-missing
    - avoid-using-show-bottom-modal-sheet
    - avoid-using-show-bottom-sheet
    - avoid-using-show-date-picker
    - avoid-using-show-date-range-picker
    - avoid-using-show-dialog
    - avoid-using-show-general-dialog
    - avoid-using-show-menu
    - avoid-using-show-search
    - avoid-using-show-time-picker
    - avoid-using-color
    - avoid-using-colors
    - override-hash-code-method
    - avoid-import-private-action

Rules #

  • clickable-widget-id-missing
  • avoid-using-show-bottom-modal-sheet
  • avoid-using-show-bottom-sheet
  • avoid-using-show-date-picker
  • avoid-using-show-date-range-picker
  • avoid-using-show-dialog
  • avoid-using-show-general-dialog
  • avoid-using-show-menu
  • avoid-using-show-search
  • avoid-using-show-time-picker
  • avoid-using-color
  • avoid-using-colors
  • override-hash-code-method

Command line tools #

    dart pub run custom_code_analysis:analysis lib
0
likes
100
points
37
downloads

Publisher

unverified uploader

Weekly Downloads

custom code analysis rules

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, analyzer_plugin, args, file, glob, meta, path, pub_semver, quick_log, source_span, uuid, yaml

More

Packages that depend on custom_code_analysis_plus