Skip to content

Commit

Permalink
chore: remove rule already included by recommended rules
Browse files Browse the repository at this point in the history
In the most recent version of the recommended rules, the configuration
for remark-lint-list-item-indent was changed to what we use, so we no
longer need to include the rule explicitly in our configuration.

Refs: remarkjs/remark-lint@8df41b3
  • Loading branch information
Trott committed Apr 17, 2024
1 parent 0e15d07 commit 9e1d369
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import remarkLintFileExtension from "remark-lint-file-extension";
import remarkLintFinalDefinition from "remark-lint-final-definition";
import remarkLintFirstHeadingLevel from "remark-lint-first-heading-level";
import remarkLintHeadingStyle from "remark-lint-heading-style";
import remarkLintListItemIndent from "remark-lint-list-item-indent";
import remarkLintMaximumLineLength from "remark-lint-maximum-line-length";
import remarkLintNoConsecutiveBlankLines from "remark-lint-no-consecutive-blank-lines";
import remarkLintNoFileNameArticles from "remark-lint-no-file-name-articles";
Expand Down Expand Up @@ -71,7 +70,6 @@ const plugins = [
remarkLintFinalDefinition,
[remarkLintFirstHeadingLevel, 1],
[remarkLintHeadingStyle, "atx"],
[remarkLintListItemIndent, "one"],
[remarkLintMaximumLineLength, 120],
remarkLintNoConsecutiveBlankLines,
remarkLintNoFileNameArticles,
Expand Down Expand Up @@ -115,7 +113,6 @@ const plugins = [

const settings = {
emphasis: "_",
listItemIndent: "one",
tightDefinitions: true,
};

Expand Down
1 change: 0 additions & 1 deletion package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"remark-lint-final-definition": "^4.0.1",
"remark-lint-first-heading-level": "^4.0.0",
"remark-lint-heading-style": "^4.0.0",
"remark-lint-list-item-indent": "^4.0.0",
"remark-lint-maximum-line-length": "^4.0.1",
"remark-lint-no-consecutive-blank-lines": "^5.0.0",
"remark-lint-no-file-name-articles": "^3.0.0",
Expand Down

0 comments on commit 9e1d369

Please sign in to comment.