Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lint rules #136

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/yumemi_lints/lib/dart/2.17/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ linter:
- noop_primitive_operations # categories: style
- null_check_on_nullable_type_parameter # categories: style
- null_closures # categories: error-prone
- omit_local_variable_types # incompatibles: always_specify_types # categories: style
- omit_local_variable_types # incompatibles: always_specify_types,specify_nonobvious_local_variable_types # categories: style
- one_member_abstracts # categories: effective dart,language feature usage,style
- only_throw_errors # categories: style
- overridden_fields # categories: style
Expand Down
2 changes: 1 addition & 1 deletion packages/yumemi_lints/lib/dart/2.18/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ linter:
- noop_primitive_operations # categories: style
- null_check_on_nullable_type_parameter # categories: style
- null_closures # categories: error-prone
- omit_local_variable_types # incompatibles: always_specify_types # categories: style
- omit_local_variable_types # incompatibles: always_specify_types,specify_nonobvious_local_variable_types # categories: style
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

memo-badge
specify_nonobvious_local_variable_types is a rule that will be added in Dart 3.6.0.
dart-lang/sdk@5b7c600

- one_member_abstracts # categories: effective dart,language feature usage,style
- only_throw_errors # categories: style
- overridden_fields # categories: style
Expand Down
2 changes: 1 addition & 1 deletion packages/yumemi_lints/lib/dart/2.19/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ linter:
- noop_primitive_operations # categories: style
- null_check_on_nullable_type_parameter # categories: style
- null_closures # categories: error-prone
- omit_local_variable_types # incompatibles: always_specify_types # categories: style
- omit_local_variable_types # incompatibles: always_specify_types,specify_nonobvious_local_variable_types # categories: style
- one_member_abstracts # categories: effective dart,language feature usage,style
- only_throw_errors # categories: style
- overridden_fields # categories: style
Expand Down
2 changes: 1 addition & 1 deletion packages/yumemi_lints/lib/dart/3.0/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ linter:
- noop_primitive_operations # categories: style
- null_check_on_nullable_type_parameter # categories: style
- null_closures # categories: error-prone
- omit_local_variable_types # incompatibles: always_specify_types # categories: style
- omit_local_variable_types # incompatibles: always_specify_types,specify_nonobvious_local_variable_types # categories: style
- one_member_abstracts # categories: effective dart,language feature usage,style
- only_throw_errors # categories: style
- overridden_fields # categories: style
Expand Down
2 changes: 1 addition & 1 deletion packages/yumemi_lints/lib/dart/3.1/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ linter:
- noop_primitive_operations # categories: style
- null_check_on_nullable_type_parameter # categories: style
- null_closures # categories: error-prone
- omit_local_variable_types # incompatibles: always_specify_types # categories: style
- omit_local_variable_types # incompatibles: always_specify_types,specify_nonobvious_local_variable_types # categories: style
- one_member_abstracts # categories: effective dart,language feature usage,style
- only_throw_errors # categories: style
- overridden_fields # categories: style
Expand Down
2 changes: 1 addition & 1 deletion packages/yumemi_lints/lib/dart/3.2/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ linter:
- noop_primitive_operations # categories: style
- null_check_on_nullable_type_parameter # categories: style
- null_closures # categories: error-prone
- omit_local_variable_types # incompatibles: always_specify_types # categories: style
- omit_local_variable_types # incompatibles: always_specify_types,specify_nonobvious_local_variable_types # categories: style
- one_member_abstracts # categories: effective dart,language feature usage,style
- only_throw_errors # categories: style
- overridden_fields # categories: style
Expand Down
2 changes: 1 addition & 1 deletion packages/yumemi_lints/lib/dart/3.3/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ linter:
- noop_primitive_operations # categories: style
- null_check_on_nullable_type_parameter # categories: style
- null_closures # categories: error-prone
- omit_local_variable_types # incompatibles: always_specify_types # categories: style
- omit_local_variable_types # incompatibles: always_specify_types,specify_nonobvious_local_variable_types # categories: style
- one_member_abstracts # categories: effective dart,language feature usage,style
- only_throw_errors # categories: style
- overridden_fields # categories: style
Expand Down
2 changes: 1 addition & 1 deletion packages/yumemi_lints/lib/dart/3.4/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ linter:
- noop_primitive_operations # categories: style
- null_check_on_nullable_type_parameter # categories: style
- null_closures # categories: error-prone
- omit_local_variable_types # incompatibles: always_specify_types # categories: style
- omit_local_variable_types # incompatibles: always_specify_types,specify_nonobvious_local_variable_types # categories: style
- one_member_abstracts # categories: effective dart,language feature usage,style
- only_throw_errors # categories: style
- overridden_fields # categories: style
Expand Down
2 changes: 1 addition & 1 deletion packages/yumemi_lints/lib/dart/3.5/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ linter:
- noop_primitive_operations # categories: style
- null_check_on_nullable_type_parameter # categories: style
- null_closures # categories: error-prone
- omit_local_variable_types # incompatibles: always_specify_types # categories: style
- omit_local_variable_types # incompatibles: always_specify_types,specify_nonobvious_local_variable_types # categories: style
- one_member_abstracts # categories: effective dart,language feature usage,style
- only_throw_errors # categories: style
- overridden_fields # categories: style
Expand Down
Loading