Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
solid-software
solid_lints
Repository navigation
Code
Issues
11
(11)
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Add new rule: dont_create_a_return_var
- #220
#220
Merged
solid-dmytrotkachuk
merged 12 commits into
master
solid-software/solid_lints:master
from
issue-92-dont_create_a_return_var
solid-software/solid_lints:issue-92-dont_create_a_return_var
Copy head branch name to clipboard
Oct 2, 2025
Conversation
Commits
12
(12)
Checks
Files changed
Merged
Add new rule: dont_create_a_return_var
#220
solid-dmytrotkachuk
merged 12 commits into
master
solid-software/solid_lints:master
from
issue-92-dont_create_a_return_var
solid-software/solid_lints:issue-92-dont_create_a_return_var
Copy head branch name to clipboard
Commits
Commits on Sep 30, 2025
Issue #92, new rule `dont_create_a_return_var`:
Show description for f0f42de
tozpeak
committed
f0f42de
View commit details
Copy full SHA for f0f42de
Browse repository at this point
Commits on Oct 1, 2025
Issue #92: added rule in analysis_options.yaml
tozpeak
committed
479c053
View commit details
Copy full SHA for 479c053
Browse repository at this point
Issue #92: added new test case
tozpeak
committed
5f4a8f9
View commit details
Copy full SHA for 5f4a8f9
Browse repository at this point
Issue #92: added naive implementation for dont_create_a_return_var_rule
tozpeak
committed
09536d5
View commit details
Copy full SHA for 09536d5
Browse repository at this point
Issue #92: fixed conflicting lints in test
tozpeak
committed
0e11f8f
View commit details
Copy full SHA for 0e11f8f
Browse repository at this point
Issue #92: added test case where return var defined from mutable, but return goes just after (bad practice, not valid caching case)
tozpeak
committed
1c12bbb
View commit details
Copy full SHA for 1c12bbb
Browse repository at this point
Issue #92: implemented advanced rule with visitor, checking where variable is defined as well as how often is used
tozpeak
committed
477ae52
View commit details
Copy full SHA for 477ae52
Browse repository at this point
Commits on Oct 2, 2025
Issue #92: fixed formatting with 'dart format'
tozpeak
committed
5390736
View commit details
Copy full SHA for 5390736
Browse repository at this point
Issue #92: changed if chain to switch statement (more readable)
tozpeak
committed
89e940a
View commit details
Copy full SHA for 89e940a
Browse repository at this point
Issue #92: renaming rule to avoid_unnecessary_return_variable
tozpeak
committed
6d61a79
View commit details
Copy full SHA for 6d61a79
Browse repository at this point
Issue #92: small readability improvements
tozpeak
committed
9d32869
View commit details
Copy full SHA for 9d32869
Browse repository at this point
#Issue 92: renamed test file accordingly
tozpeak
committed
c1e0d83
View commit details
Copy full SHA for c1e0d83
Browse repository at this point
You can’t perform that action at this time.