Browse Source
* Add prettier before commit and during CI * Add workflow * Reverse merge main to branch * dry run prettier * dry run prettier * [warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine * Revert "[warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine" This reverts commit 43dbe9ed3fba10b03a90d989cf90b4af4efd2212. * Revert "dry run prettier" This reverts commit b62948042cd8f8addf8ee23110de4096a8630926. * Revert "dry run prettier" This reverts commit 382f9a4691dee04673e461b3eda0d52c1aefda3b. * Revert "Reverse merge main to branch" This reverts commit 43667eaf29b9ab4266397251c8d781f611dcdcf8. * [warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLinemain
committed by
GitHub
13 changed files with 142 additions and 107 deletions
@ -0,0 +1,27 @@ |
|||
name: Beta Site Lint |
|||
|
|||
on: |
|||
pull_request: |
|||
types: [opened, synchronize, reopened] |
|||
|
|||
jobs: |
|||
lint: |
|||
runs-on: ubuntu-latest |
|||
|
|||
name: Lint on node 12.x and ubuntu-latest |
|||
|
|||
steps: |
|||
- uses: actions/checkout@v1 |
|||
- name: Use Node.js 12.x |
|||
uses: actions/setup-node@v1 |
|||
with: |
|||
node-version: 12.x |
|||
|
|||
- name: Install deps and build (with cache) |
|||
uses: bahmutov/npm-install@v1.6.0 |
|||
with: |
|||
working-directory: 'beta' |
|||
|
|||
|
|||
- name: Lint codebase |
|||
run: cd beta && yarn ci-check |
@ -1,7 +1,7 @@ |
|||
{ |
|||
"bracketSpacing": false, |
|||
"singleQuote": true, |
|||
"jsxBracketSameLine": true, |
|||
"bracketSameLine": true, |
|||
"trailingComma": "es5", |
|||
"printWidth": 80 |
|||
} |
|||
|
Loading…
Reference in new issue