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

feat: defined_value_getter_type #88

Merged
merged 2 commits into from
Feb 3, 2024
Merged

Conversation

ronnnnn
Copy link
Owner

@ronnnnn ronnnnn commented Feb 3, 2024

Overview

Checks T Function() definitions.

Copilot Summary

Details

This pull request primarily introduces a new lint rule defined_value_getter_type to the nilts package. This rule checks for the use of T Function() definitions and suggests replacing them with ValueGetter from the Flutter SDK. The rule is added to the lint rules list in nilts.dart and its priority is defined in change_priority.dart. The README.md is updated to include this new rule in the lint rules table and details about it. Additionally, some existing lint rules descriptions in README.md are modified to enclose certain code identifiers in backticks for better readability. The test files are updated to include tests for this new rule and to ignore this rule where necessary.

New lint rule addition:

Lint rules list and priority updates:

README updates:

  • packages/nilts/README.md: Updated the lint rules table to include the new rule and modified some existing lint rules descriptions to enclose certain code identifiers in backticks. [1] [2] [3] [4] [5]

Test files updates:

Feature type

  • Lint Rule
  • Quick fix
  • Assist
  • Other (Update docs, Configure CI, etc...)

@ronnnnn ronnnnn added the feat New feature or request label Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant