Checks that all list items are in alphabetical order
npm install remark-lint-alphabetize-listsThis remark-lint rule was created for free-programming-books-lint to enforce free-programming-books formatting guidelines.
This rule ensures that all list items are in alphabetical order
``Text
Using the rule
$3
`bash
npm install -g remark-cli
npm install remark-lint remark-lint-alphabetize-lists
`Then, set up your
.remarkrc:`JSON
{
"plugins": [
"lint",
"lint-alphabetize-lists"
]
}
`Now you can use the following command to run the lint:
`bash
remark xxx.md
`$3
`bash
npm install -g remark-cli
npm install remark-lint remark-lint-alphabetize-lists
remark -u lint -u lint-alphabetize-lists xxx.md
``