Skip to content

Commit

Permalink
Adjust textlint rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstein committed Jan 30, 2023
1 parent 45834f9 commit 200fee7
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .textlintrc
Original file line number Diff line number Diff line change
@@ -1,28 +1,33 @@
{
"filters": {
"comments": true
},
"rules": {
"no-todo": true,
"terminology": {
"defaultTerms": true,
"skip": ["Image", "Code"],
"skip": ["Code", "Image"],
"terms": [
"AMD64",
"ARM64",
"Basg",
"Docker",
"Drush",
"Git",
"Mutagen",
"MySQL",
"phpMyAdmin",
"Xdebug",
["(\\s)ddev", "DDEV"],
["(\\s)http", "HTTP"],
["(\\s)https", "HTTPS"],
["(\\s)SSH", "SSH"],
["web-?server", "web server"]
],
"exclude": [
"front[- ]end(\\w*)",
"back[- ]end(\\w*)",
"command ?line",
"PDF",
"PNG",
"JPG",
"GIF",
"HTML",
"CSS",
"ID",
"Markdown",
"URL",
"walk[- ]through",
"front[- ]end(\\w*)",
"web[- ]?site(s)?"
]
}
Expand Down
17 changes: 17 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"devDependencies": {
"dotenv": "^16.0.3",
"textlint": "^13.0.5",
"textlint-filter-rule-comments": "^1.2.2",
"textlint-rule-no-todo": "^2.0.1",
"textlint-rule-terminology": "^3.0.4"
}
Expand Down

0 comments on commit 200fee7

Please sign in to comment.