Skip to content

Commit 0bfa001

Browse files
feat(docs): add private key extension guide (#1291)
2 parents 63a5ed3 + e504962 commit 0bfa001

7 files changed

Lines changed: 967 additions & 168 deletions

File tree

.github/workflows/lint-sentence-newline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737

3838
- name: Install dependencies
3939
if: steps.changed-files.outputs.any_changed == 'true'
40-
run: npm ci
40+
run: npm ci --include=dev
4141

4242
- name: Run sentence newline lint
4343
if: steps.changed-files.outputs.any_changed == 'true'
44-
run: npx textlint ${{ steps.changed-files.outputs.all_changed_files }}
44+
run: npx textlint --config .textlintrc.json ${{ steps.changed-files.outputs.all_changed_files }}

.textlintrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
"plugins": {
33
"mdx": true
44
},
5+
"filters": {
6+
"allowlist": {
7+
"allow": ["/^:::[a-zA-Z]+\\[[^\\]]*\\][\\s\\S]*?^:::\\s*$/gm"]
8+
}
9+
},
510
"rules": {
611
"one-sentence-per-line": true
712
}

0 commit comments

Comments
 (0)