Skip to content

Commit c543908

Browse files
committed
merge conflict
2 parents d4fc46d + 90a54c8 commit c543908

File tree

536 files changed

+10463
-9500
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

536 files changed

+10463
-9500
lines changed

.github/workflows/anchor-link-audit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838

3939
- run: npm run build
4040
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4142
NODE_OPTIONS: "--max-old-space-size=4192"
4243

4344
- name: Install dependencies

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
## TODO: content formatting checks
4848
- run: npm run build
4949
env:
50+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5051
NODE_OPTIONS: "--max-old-space-size=4192"
5152
RUN_LINK_CHECK: true
5253

.github/workflows/publish-preview.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
- run: npm run build
3333
name: Build
3434
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3536
NODE_OPTIONS: --max-old-space-size=4096
3637
- name: Deploy to Cloudflare Workers
3738
env:

.github/workflows/publish-production.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- run: npm run build
2828
name: Build
2929
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3031
NODE_OPTIONS: --max-old-space-size=4096
3132
- run: npx wrangler deploy
3233
name: Deploy to Cloudflare Workers

.hyperlint/automations/styles/cloudflare/Contractions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# For a list of all options, see https://vale.sh/docs/topics/styles/
77

88
extends: substitution
9-
message: "Do not use contractions. Use '%s' instead of '%s'. Only change the contractions, nothing else."
9+
message: "Do not use contractions. Only change the contractions, nothing else."
1010
link: https://developers.cloudflare.com/style-guide/grammar/parts-of-speech/contractions/
1111
level: error
1212
ignorecase: true
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: gitlab_base.EOLWhitespace
3+
description: |
4+
Checks that there is no useless whitespace at the end of lines.
5+
extends: existence
6+
message: "Remove whitespace characters from the end of the line. Only remove the whitespace and nothing else."
7+
link: https://docs.gitlab.com/development/documentation/styleguide/
8+
vocab: false
9+
level: warning
10+
scope: raw
11+
raw:
12+
- ' +\n'
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
extends: existence
2+
message: "Do not use exclamation points in text. Only replace the exclamation point and no other text."
3+
link: "https://developers.google.com/style/exclamation-points"
4+
nonword: true
5+
level: error
6+
action:
7+
name: edit
8+
params:
9+
- trim_right
10+
- "!"
11+
tokens:
12+
- '\w+!(?:\s|$)'
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: gitlab_base.HeadingLink
3+
description: |
4+
Do not include links in a heading.
5+
Headings already have self-referencing anchor links.
6+
extends: existence
7+
message: "Do not use links in headings. Only update the links and nothing else."
8+
vocab: false
9+
level: error
10+
ignorecase: true
11+
nonword: true
12+
link: https://docs.gitlab.com/development/documentation/styleguide/#links
13+
scope: raw
14+
tokens:
15+
- ^#+ .*\[.+\]\(\S+\).*$
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
extends: existence
2+
message: "Don't use end punctuation in headings. Only update the punctuation and nothing else."
3+
link: https://docs.microsoft.com/en-us/style-guide/punctuation/periods
4+
nonword: true
5+
level: warning
6+
scope: heading
7+
action:
8+
name: edit
9+
params:
10+
- trim_right
11+
- ".!"
12+
tokens:
13+
- "[a-z][.!]$"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
# Warning: cloudflare.NonStandardQuotes
3+
#
4+
# Use only standard single and double quotes, not left or right quotes.
5+
#
6+
# For a list of all options, see https://vale.sh/docs/topics/styles/
7+
extends: existence
8+
message: Use standard single quotes ('''') or double quotes only (""). Do not use left or right quotes. Only update the quotes and nothing else. Backticks (`) are acceptable and do not need to be updated.'
9+
level: warning
10+
ignorecase: true
11+
link: https://developers.cloudflare.com/style-guide/grammar/punctuation-marks-and-symbols/quotation-marks/
12+
scope: raw
13+
raw:
14+
- "[‘’“”]"

0 commit comments

Comments
 (0)