feat(tools): remove eslint-plugin-prettier for prettier (#42438)
* feat: remove eslint-plugin-prettier for prettier This removes the annoying lint warnings when all that needs to change is formatting * fix: use .js lint-staged config to ignore properly * fix: lint everything if a lot of files are changed It's faster than making lots of individual linter calls * chore: apply prettier * fix: ignore code in curriculum-file-structure
This commit is contained in:
committed by
GitHub
parent
8518079316
commit
c8d7f0a782
12
.github/labeler.yml
vendored
12
.github/labeler.yml
vendored
@@ -1,22 +1,22 @@
|
||||
"scope: docs":
|
||||
'scope: docs':
|
||||
- docs/**/*
|
||||
|
||||
"scope: curriculum":
|
||||
'scope: curriculum':
|
||||
- curriculum/challenges/**/*
|
||||
|
||||
"platform: client":
|
||||
'platform: client':
|
||||
- client/**/*
|
||||
|
||||
"platform: api":
|
||||
'platform: api':
|
||||
- api-server/**/*
|
||||
|
||||
"scope: tools/scripts":
|
||||
'scope: tools/scripts':
|
||||
- cypress/**/*
|
||||
- tools/**/*
|
||||
- .github/**/*
|
||||
- utils/**/*
|
||||
|
||||
"scope: i18n":
|
||||
'scope: i18n':
|
||||
- any: ['curriculum/challenges/**/*', '!curriculum/challenges/english/**/*']
|
||||
- docs/i18n/**/*
|
||||
- client/i18n/**/*
|
||||
|
4
.github/workflows/autoclose.yml
vendored
4
.github/workflows/autoclose.yml
vendored
@@ -2,9 +2,9 @@ name: Autoclose
|
||||
on:
|
||||
pull_request_target:
|
||||
branches:
|
||||
- "main"
|
||||
- 'main'
|
||||
paths:
|
||||
- ".gitignore"
|
||||
- '.gitignore'
|
||||
|
||||
jobs:
|
||||
autoclose:
|
||||
|
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: "CodeQL"
|
||||
name: 'CodeQL'
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -14,7 +14,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: ["javascript"]
|
||||
language: ['javascript']
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
@@ -3,7 +3,7 @@ on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
# runs everyday at 11:15 AM UTC
|
||||
- cron: "15 11 * * *"
|
||||
- cron: '15 11 * * *'
|
||||
|
||||
jobs:
|
||||
i18n-upload-client-ui-files:
|
||||
|
@@ -56,7 +56,6 @@ jobs:
|
||||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID_CURRICULUM }}
|
||||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_CAMPERBOT_SERVICE_TOKEN }}
|
||||
|
||||
|
||||
# Convert Simplified Chinese to Traditional #
|
||||
- name: Generate Translations
|
||||
uses: ./tools/crowdin/actions/convert-chinese
|
||||
|
@@ -3,7 +3,7 @@ on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
# runs everyday at 11:30 AM UTC
|
||||
- cron: "30 11 * * *"
|
||||
- cron: '30 11 * * *'
|
||||
|
||||
jobs:
|
||||
i18n-upload-curriculum-files:
|
||||
|
@@ -3,7 +3,7 @@ on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
# runs everyday at 11:00 AM UTC
|
||||
- cron: "0 11 * * *"
|
||||
- cron: '0 11 * * *'
|
||||
|
||||
jobs:
|
||||
i18n-upload-docs-files:
|
||||
|
1
.github/workflows/cypress.yml
vendored
1
.github/workflows/cypress.yml
vendored
@@ -53,7 +53,6 @@ jobs:
|
||||
name: webpack-stats
|
||||
path: client/public/stats.json
|
||||
|
||||
|
||||
cypress-run:
|
||||
name: Test
|
||||
runs-on: ubuntu-18.04
|
||||
|
12
.github/workflows/labeler.yaml
vendored
12
.github/workflows/labeler.yaml
vendored
@@ -1,12 +1,12 @@
|
||||
name: "Pull Request Labeler"
|
||||
name: 'Pull Request Labeler'
|
||||
on:
|
||||
- pull_request_target
|
||||
- pull_request_target
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v3
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
sync-labels: true
|
||||
- uses: actions/labeler@v3
|
||||
with:
|
||||
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
sync-labels: true
|
||||
|
Reference in New Issue
Block a user