Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
solid-software
/
solid_lints
Public
Notifications
You must be signed in to change notification settings
Fork
24
Star
41
Code
Issues
7
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
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鈥檛 perform that action at this time.