DavidAnson / markdownlint

A Node.js style checker and lint tool for Markdown/CommonMark files.
MIT License
4.8k stars 729 forks source link

Support rule option names in camelCase #1327

Open regseb opened 2 months ago

regseb commented 2 months ago

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 commented 2 months ago

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.