Skip to content

linter: Docs are incorrect for no-restricted-jest-methods #16733

@connorshea

Description

@connorshea

What version of Oxlint are you using?

1.31.0

What command did you run?

n/a

What does your .oxlintrc.json config file look like?

n/a

What happened?

The config option allows arbitrary option names, but the config docs suggest that this is supposed to be called restrictedJestMethods, which is wrong. https://github.com/oxc-project/oxc/blob/397bcd5f0febc04b8bed16f0a5a8dc80ca2e5469/crates/oxc_linter/src/rules/jest/no_restricted_jest_methods.rs

See the original rule and its docs: https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/no-restricted-jest-methods.md#options

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions