Skip to content

Commit

Permalink
feat: Use remark-preset-lint-recommended
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Sep 7, 2019
1 parent fb48277 commit 028e021
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 3 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// Add in rules alphabetically
module.exports.plugins = [
require("remark-lint"),
// Leave preset at the top so it can be overridden
require("remark-preset-lint-recommended"),
[require("remark-lint-blockquote-indentation"), 2],
[
require("remark-lint-checkbox-character-style"),
Expand Down
92 changes: 90 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"remark-lint-rule-style": "^1.0.3",
"remark-lint-strong-marker": "^1.0.3",
"remark-lint-table-cell-padding": "^1.0.4",
"remark-lint-table-pipes": "^1.0.3"
"remark-lint-table-pipes": "^1.0.3",
"remark-preset-lint-recommended": "^3.0.3"
},
"devDependencies": {
"prettier": "^1.18.2",
Expand Down

0 comments on commit 028e021

Please sign in to comment.