stokkur_dart_analyzer 1.0.0 copy "stokkur_dart_analyzer: ^1.0.0" to clipboard
stokkur_dart_analyzer: ^1.0.0 copied to clipboard

This package define a set of lint rules to build Flutter apps. We use this internally at Stokkur Software.

1.0.0 #

  • We have excluded the file generated by the get_it package
  exclude:
    - ...
    - "**/injector.config.dart"
  • We have added the following rules to the previous version
    # Stokkur:
    - prefer_single_quotes
    - always_use_package_imports
    - avoid_catches_without_on_clauses
    - avoid_catching_errors
    - avoid_classes_with_only_static_members
    - avoid_redundant_argument_values
    - avoid_returning_null
    - sort_pub_dependencies
    - sort_constructors_first
    - unnecessary_parenthesis
    - unnecessary_lambdas

0.0.1 #

  exclude:
    - "**/*.g.dart"
    - "**/*.freezed.dart"
  • Also, we exclude the invalid_annotation_target rule. That is because it is causing a warning on freezed. This must be removed, after this issue is solved.
  errors:
    # TODO: Remove invalid_annotation_target after this is solved:
    #   - https://github.com/rrousselGit/freezed/issues/488
    invalid_annotation_target: ignore 
2
likes
130
pub points
6%
popularity

Publisher

verified publisherstokkur.is

This package define a set of lint rules to build Flutter apps. We use this internally at Stokkur Software.

Homepage
Repository
View/report issues

Documentation

Documentation
API reference

License

MIT (LICENSE)

More

Packages that depend on stokkur_dart_analyzer