Skip to content

Conversation

@ryan953
Copy link
Member

@ryan953 ryan953 commented Jan 15, 2026

Implements the rule spec'd in sindresorhus/eslint-plugin-unicorn#1089

We have about 1,000 violations of this check, places where we did:

function MyThing() {...}
export default MyThing;

which could be a few less lines, and more importantly we could have all the important info in the method signature:

export default function MyThing() {...}

so it's added as a 'warn' to start

Totally expecting to hear about named imports. This isn't adding or removing anything as it relates to that topic.

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 15, 2026
@getsantry
Copy link
Contributor

getsantry bot commented Feb 5, 2026

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you add the label WIP, I will leave it alone unless WIP is removed ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@getsantry getsantry bot added the Stale label Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant