-
-
Notifications
You must be signed in to change notification settings - Fork 899
Labels
C-docsCategory - Documentation. Related to user-facing or internal documentationCategory - Documentation. Related to user-facing or internal documentation
Description
Besides, the docs are wrong: https://oxc.rs/docs/guide/usage/linter/rules/eslint/curly.html#configuration
It says: This rule accepts a configuration object with the following properties:
While the following do not work at all and fallback to default behavior:
"curly": ["warn", { "curlyType": "multi-or-nest", "consistent": true }],The plugin is still expecting a old eslint-style configuration same as comments in the documentation:
/* curly: ["error", "multi-or-nest", "consistent"] */This rule accepts a configuration object with the following properties:
If oxlint does not support this, the above wording MUST be improved; it is confusing to use "accepts a configuration object with the following properties" while it does not.
Originally posted by @Mister-Hope in #18566
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-docsCategory - Documentation. Related to user-facing or internal documentationCategory - Documentation. Related to user-facing or internal documentation