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
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

2 participants