Skip to content

Commit

Permalink
format: lint all files (#2624)
Browse files Browse the repository at this point in the history
* lint all js,json,md,yaml,yml

* run linting

* ignore PR template
  • Loading branch information
casperdcl authored Jul 16, 2021
1 parent 63e0c00 commit 2dd2e91
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 19 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/link-check-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@ on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'

jobs:
run:
name: Link Check All
runs-on: ubuntu-latest
env:
NODE_OPTIONS: '--max-http-header-size=65536'

steps:
- uses: actions/checkout@v2

- name: Run Link Check
uses: 'iterative/[email protected]'
with:
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/link-check-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,29 @@ name: Check new links against deployment
on:
- deployment
- deployment_status

jobs:
run:
name: Initialize
runs-on: ubuntu-latest
if: github.event.deployment.ref != 'master' && github.event.deployment_status.state == 'success'

if:
github.event.deployment.ref != 'master' &&
github.event.deployment_status.state == 'success'
steps:
- uses: actions/checkout@v2

- id: build_check
uses: LouisBrunner/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: Report
status: queued

- name: Run Link Check
id: check
uses: 'iterative/[email protected]'
uses: iterative/[email protected]
with:
diff: true
configFile: 'config/link-check/config.yml'
configFile: config/link-check/config.yml
rootURL: '${{ github.event.deployment.payload.web_url }}'
output: checksAction

- uses: LouisBrunner/[email protected]
if: ${{ success() }}
with:
Expand All @@ -38,7 +35,6 @@ jobs:
status: completed
conclusion: ${{ steps.check.outputs.conclusion }}
output: ${{ steps.check.outputs.output }}

- uses: LouisBrunner/[email protected]
if: ${{ failure() }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.cache/
.github
public/
.github/PULL_REQUEST_TEMPLATE.md
8 changes: 2 additions & 6 deletions .restyled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ restylers:
'--print-width=80',
'--tab-width=2',
'--use-tabs=false',
'--prose-wrap=always',
'--prose-wrap=always'
]
include:
- './*.{js,md}'
- 'pages/**/*.js'
- 'content/**/*.md'
- 'src/**/*.js'
include: ['**/*.{js,json,md,yaml,yml}']

0 comments on commit 2dd2e91

Please sign in to comment.