Skip to content

Commit

Permalink
Merge pull request #53 from openameba/feature/vision-rule
Browse files Browse the repository at this point in the history
AmebaのVisionをtextlintのルールから除外
  • Loading branch information
yasuda-shin authored Sep 20, 2023
2 parents bff2ae3 + ada9fe6 commit aa5c966
Show file tree
Hide file tree
Showing 5 changed files with 144 additions and 93 deletions.
11 changes: 9 additions & 2 deletions .textlintrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
{
"rules" : {
"prh" : {
"rules": {
"prh": {
"rulePaths": [
"./lib/prh-ameba.yml"
]
}
},
"filters": {
"allowlist": {
"allowlistConfigPaths": [
"./lib/allow-ameba.yml"
]
}
}
}
1 change: 1 addition & 0 deletions lib/allow-ameba.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- つくる、つむぐ、つづく、
6 changes: 6 additions & 0 deletions lib/prh-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,9 @@ rules:
to: AmebaNews
- from: アメーバニュース
to: AmebaNews

- expected: つくる、つむぐ、つづく、
pattern: つくる、つむぐ、つづく
specs:
- from: つくる、つむぐ、つづく
to: つくる、つむぐ、つづく、
Loading

0 comments on commit aa5c966

Please sign in to comment.