Skip to content

Commit

Permalink
add rules (#25)
Browse files Browse the repository at this point in the history
* use_super_parameters

* Update CHANGELOG.md

* Update pubspec.yaml

* always_put_required_named_parameters_first

* Update CHANGELOG.md

* avoid_redundant_argument_values

* Update CHANGELOG.md
  • Loading branch information
solid-danylosafonov authored Jul 27, 2023
1 parent 19a5b99 commit 959dfee
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 0.0.18

- Add rules
- `use_super_parameters`
- `always_put_required_named_parameters_first`
- `avoid_redundant_argument_values`

## 0.0.17

- Lock DCM version as they switch to proprietary license.
Expand Down
3 changes: 3 additions & 0 deletions lib/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ dart_code_metrics:
linter:
rules:
- always_declare_return_types
- always_put_required_named_parameters_first
- always_require_non_null_named_parameters
- always_use_package_imports
- annotate_overrides
Expand All @@ -110,6 +111,7 @@ linter:
- avoid_positional_boolean_parameters
- avoid_print
- avoid_private_typedef_functions
- avoid_redundant_argument_values
- avoid_relative_lib_imports
- avoid_renaming_method_parameters
- avoid_return_types_on_setters
Expand Down Expand Up @@ -265,6 +267,7 @@ linter:
- use_rethrow_when_possible
- use_setters_to_change_properties
- use_string_buffers
- use_super_parameters
- use_test_throws_matchers
- valid_regexps
- void_checks
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: solid_lints
description:
Lints for Dart and Flutter based on software industry standards and best
practices.
version: 0.0.17
version: 0.0.18
homepage: https://github.com/solid-software/solid_lints/

environment:
Expand Down

0 comments on commit 959dfee

Please sign in to comment.