Skip to content

Commit

Permalink
Attempt to allow textlint disable comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Piedone committed Jun 5, 2024
1 parent 13a6141 commit cf64bf0
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 26 deletions.
3 changes: 2 additions & 1 deletion Lombiq.NodeJs.Extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"clean-css-cli": "5.6.2",
"copyfiles": "2.4.1",
"eslint": "8.47.0",
"if-env": "1.0.4",
"glob": "10.3.10",
"if-env": "1.0.4",
"markdownlint": "0.34.0",
"nodemon": "3.0.1",
"npm-run-all": "4.1.5",
Expand All @@ -26,6 +26,7 @@
"stylelint-config-standard-scss": "11.1.0",
"terser": "5.19.2",
"textlint": "13.3.3",
"textlint-filter-rule-comments": "1.2.2",
"textlint-rule-common-misspellings": "1.0.1",
"textlint-rule-doubled-spaces": "1.0.2",
"textlint-rule-max-comma": "3.0.1",
Expand Down
67 changes: 42 additions & 25 deletions Lombiq.NodeJs.Extensions/pnpm-lock.yaml

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

3 changes: 3 additions & 0 deletions Lombiq.NodeJs.Extensions/scripts/lint-markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ const textLintConfig = {
'max-comma',
'no-empty-section',
],
filters: {
comments: true,
},
};

function getMarkdownPaths() {
Expand Down

0 comments on commit cf64bf0

Please sign in to comment.