Skip to content

Commit

Permalink
fix: Disable rules that don't pass from the preset
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Sep 7, 2019
1 parent 028e021 commit 5d86035
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module.exports.plugins = [
require("remark-lint-hard-break-spaces"),
require("remark-lint-hard-break-spaces"),
[require("remark-lint-heading-style"), "atx"],
[require("remark-lint-list-item-bullet-indent"), false],
[require("remark-lint-list-item-indent"), "space"],
require("remark-lint-maximum-line-length"),
require("remark-lint-no-auto-link-without-protocol"),
Expand All @@ -39,12 +40,15 @@ module.exports.plugins = [
require("remark-lint-no-heading-content-indent"),
require("remark-lint-no-heading-indent"),
require("remark-lint-no-inline-padding"),
[require("remark-lint-no-literal-urls"), false],
require("remark-lint-no-multiple-toplevel-headings"),
require("remark-lint-no-shell-dollars"),
require("remark-lint-no-shortcut-reference-image"),
[require("remark-lint-no-shortcut-reference-link"), false],
require("remark-lint-no-table-indentation"),
require("remark-lint-no-tabs"),
require("remark-lint-no-trailing-spaces"),
[require("remark-lint-no-undefined-references"), false],
require("remark-lint-no-unused-definitions"),
[
require("remark-lint-prohibited-strings"),
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"remark-lint-first-heading-level": "^1.1.4",
"remark-lint-hard-break-spaces": "^1.0.4",
"remark-lint-heading-style": "^1.0.3",
"remark-lint-list-item-bullet-indent": "^1.0.3",
"remark-lint-list-item-indent": "^1.0.4",
"remark-lint-maximum-line-length": "^1.2.1",
"remark-lint-no-auto-link-without-protocol": "^1.0.3",
Expand All @@ -47,12 +48,15 @@
"remark-lint-no-heading-content-indent": "^1.0.3",
"remark-lint-no-heading-indent": "^1.0.3",
"remark-lint-no-inline-padding": "^1.0.4",
"remark-lint-no-literal-urls": "^1.0.3",
"remark-lint-no-multiple-toplevel-headings": "^1.0.4",
"remark-lint-no-shell-dollars": "^1.0.3",
"remark-lint-no-shortcut-reference-image": "^1.0.3",
"remark-lint-no-shortcut-reference-link": "^1.0.4",
"remark-lint-no-table-indentation": "^1.0.4",
"remark-lint-no-tabs": "^1.0.3",
"remark-lint-no-trailing-spaces": "^2.0.1",
"remark-lint-no-undefined-references": "^1.1.1",
"remark-lint-no-unused-definitions": "^1.0.5",
"remark-lint-prohibited-strings": "^1.1.0",
"remark-lint-rule-style": "^1.0.3",
Expand Down

0 comments on commit 5d86035

Please sign in to comment.