remark-lint/packages/remark-lint-no-duplicate-definitions
greenkeeperio-bot ec6810703d Update xo
Closes GH-136.
2017-03-18 17:22:19 +01:00
..
index.js Update xo 2017-03-18 17:22:19 +01:00
package.json 6.0.0 2017-02-23 18:34:08 +01:00
readme.md Rewrite so that rules are published to npm individually 2017-02-23 18:07:52 +01:00

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)

License

MIT © Titus Wormer