CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 10:25:04 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/textlint-rule/textlint-rule-en-capitalization.git
etag: W/"2c4ddd647a2f6070b82de95548c25fe2"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=kZRDMu6qhbfKFZwsUMqWCCsHPEm0U9pyiy8Y%2FljtZ0BfNqOJsTwJXeDmtt515QMC8FML5b7q2jOGEHV%2BP0BuHB%2BI0kkb4YI2envWcfuTm6BJjT226uJMKedadzFQl%2F6Pay1ZuKXJGngk%2Bt8dToIEUOYIGLsUqzZ1BzslvIVifd0gwMA3qSuQ2bWnCByr5DML412uX3KX%2F8JXdYsL9QIBZt%2FENBVlHeXEP5rzfoJyi0PPsNaLViFLZg6iKNTmyT3vlxEmT6SIFi5Or2ufnHX4tQ%3D%3D--XXldksnpdeTZqQ3G--%2F8H3Ti%2BR8iVRcbaEV0fXAA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1553401368.1752920703; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 10:25:03 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 10:25:03 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 98CE:0A87:3B57DA:4B4022:687B727F
fix(rule): fix false-positive result (#3) · textlint-rule/textlint-rule-en-capitalization@6a3063c · GitHub
Copy file name to clipboardExpand all lines: src/textlint-rule-en-capitalization.js
Copy file name to clipboard
Copy file name to clipboardExpand all lines: test/textlint-rule-en-capitalization-test.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit 6a3063c
authored
fix(rule): fix false-positive result (#3)
* fix(rule): fix false-positive result
Completely rewrite sentence parser https://github.com/azu/sentence-splitter/releases/tag/3.0.0
fix #2
* chore(npm): remove unused library1 parent f07443b commit 6a3063cCopy full SHA for 6a3063c
File tree
Expand file treeCollapse file tree
5 files changed
+188
-118
lines changedFilter options
- src
- test
Expand file treeCollapse file tree
5 files changed
+188
-118
lines changed+5-6Lines changed: 5 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
41 |
| - | |
42 |
| - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
57 |
| - | |
58 |
| - | |
| 56 | + | |
| 57 | + | |
59 | 58 |
| |
60 | 59 |
|
src/textlint-rule-en-capitalization.js
Copy file name to clipboardExpand all lines: src/textlint-rule-en-capitalization.js+62-47Lines changed: 62 additions & 47 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 |
| - | |
| 4 | + | |
6 | 5 |
| |
7 | 6 |
| |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 |
| |
9 | 13 |
| |
10 | 14 |
| |
| |||
25 | 29 |
| |
26 | 30 |
| |
27 | 31 |
| |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 | 32 |
| |
47 | 33 |
| |
48 | 34 |
| |
| |||
52 | 38 |
| |
53 | 39 |
| |
54 | 40 |
| |
| 41 | + | |
55 | 42 |
| |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
69 | 49 |
| |
70 | 50 |
| |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
76 | 55 |
| |
77 | 56 |
| |
78 | 57 |
| |
79 |
| - | |
| 58 | + | |
80 | 59 |
| |
81 |
| - | |
| 60 | + | |
82 | 61 |
| |
83 |
| - | |
| 62 | + | |
84 | 63 |
| |
85 | 64 |
| |
86 | 65 |
| |
87 | 66 |
| |
88 | 67 |
| |
89 | 68 |
| |
90 | 69 |
| |
91 |
| - | |
92 |
| - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
93 | 76 |
| |
94 | 77 |
| |
95 | 78 |
| |
96 | 79 |
| |
97 |
| - | |
| 80 | + | |
98 | 81 |
| |
99 | 82 |
| |
100 | 83 |
| |
| |||
127 | 110 |
| |
128 | 111 |
| |
129 | 112 |
| |
130 |
| - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
131 | 124 |
| |
132 | 125 |
| |
133 | 126 |
| |
| |||
136 | 129 |
| |
137 | 130 |
| |
138 | 131 |
| |
139 |
| - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
140 | 143 |
| |
141 | 144 |
| |
142 | 145 |
| |
143 | 146 |
| |
144 | 147 |
| |
145 |
| - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
146 | 161 |
| |
147 | 162 |
| |
148 | 163 |
| |
|
test/mocha.opts
Copy file name to clipboard+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + |
test/textlint-rule-en-capitalization-test.js
Copy file name to clipboardExpand all lines: test/textlint-rule-en-capitalization-test.js+21-3Lines changed: 21 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
| 11 | + | |
10 | 12 |
| |
11 | 13 |
| |
12 | 14 |
| |
| |||
28 | 30 |
| |
29 | 31 |
| |
30 | 32 |
| |
31 |
| - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
32 | 40 |
| |
33 | 41 |
| |
34 | 42 |
| |
| |||
38 | 46 |
| |
39 | 47 |
| |
40 | 48 |
| |
41 |
| - | |
| 49 | + | |
42 | 50 |
| |
43 | 51 |
| |
44 | 52 |
| |
| |||
81 | 89 |
| |
82 | 90 |
| |
83 | 91 |
| |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
84 | 100 |
| |
85 | 101 |
| |
86 | 102 |
| |
87 | 103 |
| |
88 |
| - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
89 | 107 |
| |
90 | 108 |
| |
91 | 109 |
| |
|
You can’t perform that action at this time.
0 commit comments