mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Merge pull request #397 from hydralauncher/add-prettier-check-on-pipeline
add prettier check on ci
This commit is contained in:
commit
29d9c43834
5 changed files with 63 additions and 60 deletions
3
.github/workflows/lint.yml
vendored
3
.github/workflows/lint.yml
vendored
|
@ -26,3 +26,6 @@ jobs:
|
|||
|
||||
- name: Lint
|
||||
run: yarn lint
|
||||
|
||||
- name: Format check
|
||||
run: yarn format-check
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
[](README.uk-UA.md)
|
||||
[](README.be.md)
|
||||
|
||||
|
||||

|
||||
|
||||
</div>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
"type": "module",
|
||||
"scripts": {
|
||||
"format": "prettier --write .",
|
||||
"format-check": "prettier --check .",
|
||||
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
|
||||
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
||||
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue