Skip to content

Add object-params plugin - #317

Open
adelbeke wants to merge 1 commit into
dustinspecker:mainfrom
adelbeke:add-object-params
Open

adelbeke wants to merge 1 commit into
dustinspecker:mainfrom
adelbeke:add-object-params

Conversation

@adelbeke

@adelbeke adelbeke commented Oct 25, 2026 •

Copy link
Copy Markdown

Adds eslint-plugin-object-params to Practices and Specific ES Features, in alphabetical order.

The plugin has one rule: functions take a single object parameter instead of positional ones, but callbacks (sort, reduce, new Promise...) are skipped. This is the option ESLint declined for max-params in eslint/eslint#17727. It also runs as an oxlint JS plugin.

🤖 Generated with Claude Code

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