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

Support rule option names in camelCase #1327

Open
regseb opened this issue Aug 13, 2024 · 1 comment
Open

Support rule option names in camelCase #1327

regseb opened this issue Aug 13, 2024 · 1 comment

Comments

@regseb
Copy link
Contributor

regseb commented Aug 13, 2024

Description

Option names are in snake_case (e.g. siblings_only for the no-duplicate-heading rule). camelCase names should also be supported (e.g. siblingsOnly).

Motivations

@DavidAnson
Copy link
Owner

This is a holdover from the original Ruby implementation. It's reasonable to do as you suggest, but I'd rather not code it into every rule or document/test/sample both forms. I'll think about how/when this might be least disruptive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants