mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2025-02-10 19:41:57 +02:00
chore(format): also format json (no effect)
Adds json-file formating to the prettier command. Currently this has no effect, but if the `tabWidth` is changed to 2 and the `printWidth` reduced to 88, then it will also impact the json files and keep the formatting consistent across code and data.
This commit is contained in:
parent
5c97e5b672
commit
012d0aa4df
@ -13,7 +13,7 @@
|
||||
"tsc-check": "tsc --noEmit",
|
||||
"pretty": "npm run prettyNoWrite -- --write --log-level error",
|
||||
"prettyCheck": "npm run prettyNoWrite -- --check",
|
||||
"prettyNoWrite": "prettier --config ./.prettierrc \"**/*.js\" \"**/*.ts\"",
|
||||
"prettyNoWrite": "prettier --config ./.prettierrc \"**/*.js\" \"**/*.ts\" \"**/*.json\" ",
|
||||
"check": "npm run lint && npm run svelte-check && npm run tsc-check"
|
||||
},
|
||||
"keywords": [],
|
||||
|
Loading…
x
Reference in New Issue
Block a user