Skip to content

Commit 2dd2e91

Browse files
authored
format: lint all files (#2624)
* lint all js,json,md,yaml,yml * run linting * ignore PR template
1 parent 63e0c00 commit 2dd2e91

File tree

4 files changed

+8
-19
lines changed

4 files changed

+8
-19
lines changed

.github/workflows/link-check-all.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,14 @@ on:
33
workflow_dispatch:
44
schedule:
55
- cron: '0 0 * * *'
6-
76
jobs:
87
run:
98
name: Link Check All
109
runs-on: ubuntu-latest
1110
env:
1211
NODE_OPTIONS: '--max-http-header-size=65536'
13-
1412
steps:
1513
- uses: actions/checkout@v2
16-
1714
- name: Run Link Check
1815
uses: 'iterative/[email protected]'
1916
with:

.github/workflows/link-check-deploy.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,29 @@ name: Check new links against deployment
44
on:
55
- deployment
66
- deployment_status
7-
87
jobs:
98
run:
109
name: Initialize
1110
runs-on: ubuntu-latest
12-
if: github.event.deployment.ref != 'master' && github.event.deployment_status.state == 'success'
13-
11+
if:
12+
github.event.deployment.ref != 'master' &&
13+
github.event.deployment_status.state == 'success'
1414
steps:
1515
- uses: actions/checkout@v2
16-
1716
- id: build_check
1817
uses: LouisBrunner/[email protected]
1918
with:
2019
token: ${{ secrets.GITHUB_TOKEN }}
2120
name: Report
2221
status: queued
23-
2422
- name: Run Link Check
2523
id: check
26-
uses: 'iterative/[email protected]'
24+
uses: iterative/[email protected]
2725
with:
2826
diff: true
29-
configFile: 'config/link-check/config.yml'
27+
configFile: config/link-check/config.yml
3028
rootURL: '${{ github.event.deployment.payload.web_url }}'
3129
output: checksAction
32-
3330
- uses: LouisBrunner/[email protected]
3431
if: ${{ success() }}
3532
with:
@@ -38,7 +35,6 @@ jobs:
3835
status: completed
3936
conclusion: ${{ steps.check.outputs.conclusion }}
4037
output: ${{ steps.check.outputs.output }}
41-
4238
- uses: LouisBrunner/[email protected]
4339
if: ${{ failure() }}
4440
with:

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.cache/
2-
.github
32
public/
3+
.github/PULL_REQUEST_TEMPLATE.md

.restyled.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ restylers:
1010
'--print-width=80',
1111
'--tab-width=2',
1212
'--use-tabs=false',
13-
'--prose-wrap=always',
13+
'--prose-wrap=always'
1414
]
15-
include:
16-
- './*.{js,md}'
17-
- 'pages/**/*.js'
18-
- 'content/**/*.md'
19-
- 'src/**/*.js'
15+
include: ['**/*.{js,json,md,yaml,yml}']

0 commit comments

Comments
 (0)