lint_maker 0.2.2 copy "lint_maker: ^0.2.2" to clipboard
lint_maker: ^0.2.2 copied to clipboard

A script to help you create custom linting configurations. Creates analysis_options.yaml files to your liking.

example/README.md

Setup #

Add the lint_maker to your dev dependencies and create a lint_maker.yaml file in the root of your project. The config can look something like:

default:
  output: "analysis_options.yaml"
  preset:
    analyzer:
      language:
        strict-casts: true
        strict-inference: true
        strict-raw-types: true
      exclude:
        - "**.g.dart"
    linter:
      rules:
        always_specify_types: false
        avoid_annotating_with_dynamic: false
        avoid_as: false
        avoid_print: false
        diagnostic_describe_all_properties: false
        prefer_double_quotes: false
        prefer_relative_imports: false
        unnecessary_final: false
        prefer_final_parameters: false
        prefer_expression_function_bodies: false
        avoid_catches_without_on_clauses: false
1
likes
150
points
678
downloads

Publisher

verified publisherdebacode.de

Weekly Downloads

A script to help you create custom linting configurations. Creates analysis_options.yaml files to your liking.

Repository (GitHub)
View/report issues

Topics

#analysis #lints

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, checked_yaml, http, json2yaml, json_annotation, version, yaml

More

Packages that depend on lint_maker