-
-
Notifications
You must be signed in to change notification settings - Fork 708
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add remark-lint configuration (#418)
Signed-off-by: Thomas Dietrich <[email protected]>
- Loading branch information
Thomas Dietrich
authored
Jun 29, 2017
1 parent
453ae0f
commit d8efac0
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"name": "openhab-docs", | ||
"version": "0.0.0", | ||
"description": "(this npm package file is currently only used for remark-lint)", | ||
"main": "index.html", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/openhab/openhab-docs.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/openhab/openhab-docs/issues" | ||
}, | ||
"homepage": "https://github.com/openhab/openhab-docs#readme", | ||
"scripts": { | ||
"lint-md": "remark ." | ||
}, | ||
"dependencies": { | ||
"remark-cli": "^3.0.1", | ||
"remark-lint-code-block-style": "^1.0.0", | ||
"remark-lint-fenced-code-flag": "^1.0.0", | ||
"remark-lint-list-item-indent": "^1.0.0", | ||
"remark-lint-no-tabs": "^1.0.0", | ||
"remark-lint-sentence-newline": "^2.0.0", | ||
"remark-lint-unordered-list-marker-style": "^1.0.0", | ||
"remark-preset-lint-consistent": "^2.0.0", | ||
"remark-preset-lint-recommended": "^2.0.0" | ||
}, | ||
"remarkConfig": { | ||
"plugins": [ | ||
[ | ||
"remark-preset-lint-recommended", | ||
true | ||
], | ||
[ | ||
"remark-preset-lint-consistent", | ||
true | ||
], | ||
[ | ||
"remark-lint-list-item-indent", | ||
"mixed" | ||
], | ||
[ | ||
"remark-lint-fenced-code-flag", | ||
true | ||
], | ||
[ | ||
"remark-lint-no-tabs", | ||
true | ||
], | ||
[ | ||
"remark-lint-unordered-list-marker-style", | ||
"*" | ||
], | ||
[ | ||
"remark-lint-code-block-style", | ||
"fenced" | ||
], | ||
[ | ||
"remark-lint-sentence-newline", | ||
true | ||
] | ||
] | ||
} | ||
} |