From b52a512266ca56623a255a46f7aa05efa2ab883c Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 25 Sep 2019 01:31:01 -0400 Subject: [PATCH] chore: remove rules overlapping preset --- index.js | 12 +----------- package.json | 9 --------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/index.js b/index.js index 79a77d1a..a4b37db9 100644 --- a/index.js +++ b/index.js @@ -21,35 +21,25 @@ module.exports.plugins = [ require("remark-lint-fenced-code-flag"), [require("remark-lint-fenced-code-marker"), "`"], [require("remark-lint-file-extension"), "md"], - [require("remark-lint-first-heading-level"), 1], require("remark-lint-final-definition"), - require("remark-lint-final-newline"), - require("remark-lint-hard-break-spaces"), - require("remark-lint-hard-break-spaces"), + [require("remark-lint-first-heading-level"), 1], [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"), - require("remark-lint-no-blockquote-without-marker"), require("remark-lint-no-consecutive-blank-lines"), - require("remark-lint-no-duplicate-definitions"), require("remark-lint-no-file-name-articles"), require("remark-lint-no-file-name-consecutive-dashes"), require("remark-lint-no-file-name-outer-dashes"), - 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"), [ diff --git a/package.json b/package.json index 00dc6045..b94e6c83 100644 --- a/package.json +++ b/package.json @@ -31,33 +31,24 @@ "remark-lint-fenced-code-marker": "^1.0.3", "remark-lint-file-extension": "^1.0.3", "remark-lint-final-definition": "^1.0.3", - "remark-lint-final-newline": "^1.0.3", "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", - "remark-lint-no-blockquote-without-marker": "^2.0.3", "remark-lint-no-consecutive-blank-lines": "^1.0.3", - "remark-lint-no-duplicate-definitions": "^1.0.5", "remark-lint-no-file-name-articles": "^1.0.3", "remark-lint-no-file-name-consecutive-dashes": "^1.0.3", "remark-lint-no-file-name-outer-dashes": "^1.0.4", - "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", "remark-lint-strong-marker": "^1.0.3",