mirror of
https://github.com/mts7/obsidian-word-frequency.git
synced 2026-07-22 05:43:07 +00:00
add file glob to prettier config
This commit is contained in:
parent
ee94db5e83
commit
95fa3112a3
2 changed files with 3 additions and 2 deletions
2
.github/workflows/main.yaml
vendored
2
.github/workflows/main.yaml
vendored
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
run: npm install
|
||||
|
||||
- name: Run Prettier
|
||||
run: npx prettier --check
|
||||
run: npm run prettier
|
||||
|
||||
- name: Lint code
|
||||
run: npm run lint
|
||||
|
|
|
|||
|
|
@ -11,8 +11,9 @@
|
|||
"build": "rollup -c",
|
||||
"dev": "npm run build && obsidian --dev",
|
||||
"watch": "rollup -c --watch",
|
||||
"prettier": "npx prettier --check \"src/**/*.{js,ts,jsx,tsx}\"",
|
||||
"pretty-fix": "npx prettier src --write",
|
||||
"lint": "eslint . --ext .js,.ts",
|
||||
"lint": "eslint . --ext \"src/**/*.{js,ts,jsx,tsx}\"",
|
||||
"lint-fix": "eslint . --ext .js,.ts --fix",
|
||||
"test": "jest",
|
||||
"coverage": "npx jest --coverage"
|
||||
|
|
|
|||
Loading…
Reference in a new issue