mirror of
https://github.com/remarkjs/remark-lint.git
synced 2024-10-27 19:58:38 +03:00
ec6810703d
Closes GH-136. |
||
---|---|---|
.. | ||
index.js | ||
package.json | ||
readme.md |
remark-lint-no-duplicate-definitions
Warn when duplicate definitions are found.
Install
npm install --save remark-lint-no-duplicate-definitions
Example
When this rule is turned on, the following file
valid.md
is ok:
[foo]: bar
[baz]: qux
When this rule is turned on, the following file
invalid.md
is not ok:
[foo]: bar
[foo]: qux
2:1-2:11: Do not use definitions with the same identifier (1:1)