Configure all rules that allow style=consistent (or similar) to require an explicit style for consistency across the project.

This commit is contained in:
David Anson 2022-11-13 20:53:10 -08:00
parent bb1c4d4ee6
commit 2e63bf7dd8
33 changed files with 149 additions and 117 deletions

View file

@ -11,7 +11,7 @@ package exposes those for reuse by custom rules.
## API
_Undocumented_ - This package exports the internal functions as-is. The APIs
*Undocumented* - This package exports the internal functions as-is. The APIs
were not originally meant to be public, are not officially supported, and may
change from release to release. There are brief descriptive comments above each
function, but no [JSDoc][jsdoc] annotations. That said, some of what's here will
@ -19,7 +19,7 @@ be useful to custom rule authors and may avoid duplicating code.
## Example
```js
```javascript
const { forEachLine, getLineMetadata } = require("markdownlint-rule-helpers");
module.exports = {
@ -45,7 +45,7 @@ See also: [`markdownlint` built-in rule implementations][lib].
## Tests
_None_ - The entire body of code is tested to 100% coverage by the core
*None* - The entire body of code is tested to 100% coverage by the core
`markdownlint` project, so there are no additional tests here.
[custom-rules]: https://github.com/DavidAnson/markdownlint/blob/main/doc/CustomRules.md