Merge branch 'dev' into fixFlowSettings
This commit is contained in:
commit
38187b8bad
2 changed files with 4 additions and 7 deletions
8
.github/workflows/lint-js.yml
vendored
8
.github/workflows/lint-js.yml
vendored
|
|
@ -45,10 +45,6 @@ jobs:
|
||||||
- name: Run Prettier
|
- name: Run Prettier
|
||||||
run: |
|
run: |
|
||||||
cd src/frontend
|
cd src/frontend
|
||||||
npm run format
|
npm run check-format
|
||||||
- name: Commit changes
|
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
|
||||||
with:
|
|
||||||
commit_message: Apply Prettier formatting
|
|
||||||
branch: ${{ github.head_ref }}
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -83,6 +83,7 @@
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"serve": "vite preview",
|
"serve": "vite preview",
|
||||||
"format": "npx prettier --write \"{tests,src}/**/*.{js,jsx,ts,tsx,json,md}\" --ignore-path .prettierignore",
|
"format": "npx prettier --write \"{tests,src}/**/*.{js,jsx,ts,tsx,json,md}\" --ignore-path .prettierignore",
|
||||||
|
"check-format": "npx prettier --check \"{tests,src}/**/*.{js,jsx,ts,tsx,json,md}\" --ignore-path .prettierignore",
|
||||||
"type-check": "tsc --noEmit --pretty --project tsconfig.json && vite"
|
"type-check": "tsc --noEmit --pretty --project tsconfig.json && vite"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue