Skip to content

feat: Remove unwanted rule prefer-returning-shorthand#13

Merged
MaximeRougieux merged 4 commits intomainfrom
feat/dcm-1.35
Feb 27, 2026
Merged

feat: Remove unwanted rule prefer-returning-shorthand#13
MaximeRougieux merged 4 commits intomainfrom
feat/dcm-1.35

Conversation

@MaximeRougieux
Copy link
Copy Markdown
Contributor

@MaximeRougieux MaximeRougieux commented Feb 27, 2026

Status

READY

Description

  • Remove the prefer-returning-shorthand rule
    We prefer
MyClass get myInstance => MyClass();

rather than

MyClass get myInstance => .new();
  • Document support for dcm 1.35 (no changes because no new rules)

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@MaximeRougieux MaximeRougieux changed the title Remove unwanted rule prefer-returning-shorthand Feat/Remove unwanted rule prefer-returning-shorthand Feb 27, 2026
@MaximeRougieux MaximeRougieux changed the title Feat/Remove unwanted rule prefer-returning-shorthand feat: Remove unwanted rule prefer-returning-shorthand Feb 27, 2026
@MaximeRougieux MaximeRougieux merged commit 1852c98 into main Feb 27, 2026
7 of 9 checks passed
@MaximeRougieux MaximeRougieux deleted the feat/dcm-1.35 branch February 27, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants