Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement eslint/no-dupe-args #2257

Closed
TzviPM opened this issue Feb 1, 2024 · 1 comment
Closed

Implement eslint/no-dupe-args #2257

TzviPM opened this issue Feb 1, 2024 · 1 comment
Assignees

Comments

@TzviPM
Copy link
Contributor

TzviPM commented Feb 1, 2024

Part of #479

Docs at https://eslint.org/docs/latest/rules/no-dupe-args

Note this comment:

It does not apply to arrow functions or class methods, because the parser reports the error.

I imagine the test262 parser tests already exercise this code path, but let's confirm that the parser should behave this way, and if it should, that it does.

@TzviPM TzviPM self-assigned this Feb 1, 2024
@Boshen
Copy link
Member

Boshen commented Feb 1, 2024

This rule is only useful in non-strict nowadays. I think we can safely whitelist this from our automated reporter.

const NOT_SUPPORTED_RULE_NAMES = new Set([]);

@Boshen Boshen closed this as completed in d7feade Feb 2, 2024
IWANABETHATGUY pushed a commit to IWANABETHATGUY/oxc that referenced this issue May 29, 2024
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

No branches or pull requests

2 participants