feat: add `unnecessary_this_alias` rule

Open Beginner friendly
#256 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
dart, flutter

Research direction

The issue asks to add the Dart lint rule unnecessary_this_alias to this package's lint set. Start by finding where existing rules are enabled in the package's analysis options file and follow the pattern used for neighbouring rules. Read the rule description at https://dart.dev/tools/linter-rules/unnecessary_this_alias to confirm its name and intent. Done means the rule is enabled in the same way as the others and the package's analysis still passes.

Written by the indexing model from the issue text.

Description

Description

Add the new unnecessary_this_alias rule, introduced in Dart 3.15 (release new year). Ref: https://dart.dev/tools/linter-rules/unnecessary_this_alias.

Dominant language
Dart
Stars
479
Forks
51
Avg merge
11h 57m
Merged PRs (30d)
8

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from VeryGoodOpenSource/very_good_analysis

All issues in VeryGoodOpenSource/very_good_analysis

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.