Skip to content

feat(lint): require named object types on function parameters - #164

Draft
jcosta33 wants to merge 1 commit into
codex/share-jsx-boolean-rulefrom
codex/no-inline-param-type
Draft

jcosta33 wants to merge 1 commit into
codex/share-jsx-boolean-rulefrom
codex/no-inline-param-type

Conversation

@jcosta33

@jcosta33 jcosta33 commented Nov 25, 2026 •

Copy link
Copy Markdown

Require named parameter and props types in both base configs. The rule reports direct inline object types, including those in destructured parameters, constructors, and TypeScript signatures.

The original rule found 132 cases in 82 files in ffy-cli. Moving a type to module scope keeps the signature short and gives the type a name that other declarations can reuse.

Parent #162

Source ffy-cli #498

@jcosta33
jcosta33 added this pull request to stack #163 November 25, 2026 15:22
@changeset-bot

changeset-bot Bot commented Nov 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 61ef769

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@frontify/eslint-config-basic Minor
@frontify/eslint-config-react Minor
@frontify/eslint-plugin Patch
@frontify/oxlint-config-basic Minor
@frontify/oxlint-config-react Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

1 participant