-
-
Notifications
You must be signed in to change notification settings - Fork 216
Expand file tree
/
Copy pathprh.yml
More file actions
40 lines (40 loc) · 1.03 KB
/
prh.yml
File metadata and controls
40 lines (40 loc) · 1.03 KB
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
version: 1
rules:
- expected: リント
patterns:
- /\blint\b(?!-staged)(?!\s*\/)/ # accept lint-staged, ignore /lint/ in import statement
- expected: リンタ
patterns:
- /\blinter\b(?!\s*\/)/
- expected: フォーマット
patterns:
- /(?:(?<!git-)\bformat\b|\bformat\b(?!-staged))(?!\s*\/)/i # accept git-format-staged
specs:
- from: format
to: フォーマット
- from: git-format-staged
to: git-format-staged
- from: format-staged
to: フォーマット-staged
- from: git-format
to: git-フォーマット
- expected: フォーマッタ
patterns:
- /\bformatter\b(?!\s*\/)/
- expected: アナライザ
patterns:
- /\banalyzer\b(?!\s*\/)/
- expected: パース
patterns:
- /\bparse\b(?!\s*\/)/
- expected: パーサ
patterns:
- /\bparser\b(?!\s*\/)/
- expected: TypeScript
patterns:
- typescript
- Typescript
- expected: JavaScript
patterns:
- javascript
- Javascript