mirror of
https://github.com/IT4Change/IT4C.dev.git
synced 2025-12-13 09:25:49 +00:00
textlint including one rule(no todos) and a filter to disable rules if needed
This commit is contained in:
parent
04ee1c055e
commit
35721521a9
8
.textlintrc
Normal file
8
.textlintrc
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-todo": true
|
||||
},
|
||||
"filters": {
|
||||
"comments": true
|
||||
}
|
||||
}
|
||||
3176
package-lock.json
generated
3176
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -7,7 +7,7 @@
|
||||
"build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build docs",
|
||||
"build:workflow": "vuepress build docs",
|
||||
"dev": "NODE_OPTIONS=--openssl-legacy-provider vuepress dev docs",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"lint": "textlint \"*.md\" \"docs/**/*.md\""
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -20,6 +20,9 @@
|
||||
},
|
||||
"homepage": "https://github.com/IT4Change/IT4C.dev#readme",
|
||||
"devDependencies": {
|
||||
"textlint": "^12.4.0",
|
||||
"textlint-filter-rule-comments": "^1.2.2",
|
||||
"textlint-rule-no-todo": "^2.0.1",
|
||||
"vuepress": "^1.9.7",
|
||||
"vuepress-theme-book": "^0.0.9"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user