-
Notifications
You must be signed in to change notification settings - Fork 2
/
prh.yml
85 lines (85 loc) · 2.39 KB
/
prh.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: 1
imports:
- ./prh/kanji-open.yml
- ./node_modules/@azu/prh.yml/ja/spoken.yml
- ./node_modules/@azu/prh.yml/ja/typo.yml
- ./node_modules/@azu/prh.yml/css.yml
- ./node_modules/@azu/prh.yml/javascript.yml
- ./node_modules/@azu/prh.yml/other.yml
- ./node_modules/@azu/prh.yml/software.yml
rules:
- expected: Kubernetes
patterns:
- Kuberenetes # 誤字
- Kubernates # 誤字
- expected: Elasticsearch
patterns:
- /Elastic[ ]?Search/
specs:
- from: ElasticSearch
to: Elasticsearch
- from: Elastic Search
to: Elasticsearch
- expected: ElastiCache
specs:
- from: Elasticache
to: ElastiCache
- expected: Architect
pattern: Archtect # スペルミス
- expected: FOSSology
patterns: FOSSOLOGY
- expected: Nextcloud
patterns: NextCloud
- expected: Simple AD
patterns: SimpleAD
- expected: ウェブアプリケーション
patterns: Webアプリケーション
- expected: Stack Overflow
patterns: StackOverflow
- expected: Active Directory
patterns: ActiveDirectory
- expected: ユーザー
patterns: /ユーザ(?!ー)/
- expected: サーバー
patterns: /サーバ(?!ー)/
- expected: ウェブサーバー
patterns: Webサーバー
- expected: Jira
patterns: JIRA
- expected: Data Center
patterns: DataCenter
- expected: VS Code
patterns: VSCode
- expected: Fluent Bit
patterns: FluentBit
- expected: Black Duck
patterns: BlackDuck
- expected: Golang
patterns: golang
- expected: GitLab
patterns: Gitlab
- expected: GitHub
patterns: Github
# 半角括弧を全角括弧に
- expected: ($1)
pattern: /\((.+?)\)/
specs:
- from: そうですね(笑)
to: そうですね(笑)
- from: (@<fn>{test})
to: (@<fn>{test})
- from: "(ほげ)ほげ)"
to: "(ほげ)ほげ)"
prh: 半角カッコの代わりに全角カッコを使うこと。文字のバランスが崩れるためです
# 時間の範囲を示す記号は全角「〜」
- expected: $1:$2〜$3:$4
patterns:
- /(\d\d?):([0-5]\d)\s*[-~]\s*(\d\d?):([0-5]\d)/
specs:
- from: 9:00-18:00
to: 9:00〜18:00
- from: 9:00~18:00
to: 9:00〜18:00
- from: 9:00 ~ 18:00
to: 9:00〜18:00
prh: 時間の範囲を示す記号は「〜」を使うこと。