File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1+ module . exports = {
2+ rules : {
3+ apostrophe : true ,
4+ '@textlint-rule/no-unmatched-pair' : true ,
5+ 'common-misspellings' : true ,
6+ 'stop-words' : true ,
7+ 'write-good' : true ,
8+ } ,
9+ }
Original file line number Diff line number Diff line change 1010 "write-translations" : " docusaurus-write-translations" ,
1111 "version" : " docusaurus-version" ,
1212 "rename-version" : " docusaurus-rename-version" ,
13+ "lint-docs" : " textlint ../docs/**/*.md" ,
1314 "format-docs" : " prettier --write '../docs/**/*.md'"
1415 },
1516 "devDependencies" : {
17+ "@textlint-rule/textlint-rule-no-unmatched-pair" : " ^1.0.7" ,
1618 "docusaurus" : " ^1.7.2" ,
1719 "husky" : " ^1.3.1" ,
1820 "lint-staged" : " ^8.1.0" ,
19- "prettier" : " ^1.15.3"
21+ "prettier" : " ^1.15.3" ,
22+ "textlint" : " ^11.3.1" ,
23+ "textlint-rule-apostrophe" : " ^1.0.0" ,
24+ "textlint-rule-common-misspellings" : " ^1.0.1" ,
25+ "textlint-rule-en-capitalization" : " ^2.0.2" ,
26+ "textlint-rule-stop-words" : " ^1.0.17" ,
27+ "textlint-rule-write-good" : " ^1.6.2"
2028 },
2129 "lint-staged" : {
2230 "linters" : {
You can’t perform that action at this time.
0 commit comments