Code Sharp Linter for Dart

Analysis Options

View all Lint Rules

Using the Linter

Analysis Options

Auto-generated options enabling all lints. Add these to your analysis_options.yaml file and tailor to fit!

code_sharp:
  rules:
    - argument_equal_default_no_need_set
    - prefer_builder_constructor_for_widget
    - prefer_if_null_operators_with_default_bool
    - prefer_method_not_use_calls
    - prefer_switch_case
    - use_container_property_as_possible