fix: windows invocations of prettier

This commit is contained in:
Jun Siang Cheah 2024-05-11 17:43:53 +08:00
parent 9a95767062
commit e3e037e187

View File

@ -12,9 +12,9 @@
"lint:frontend": "eslint . --fix", "lint:frontend": "eslint . --fix",
"lint:types": "npm run check", "lint:types": "npm run check",
"lint:backend": "pylint backend/", "lint:backend": "pylint backend/",
"format": "prettier --plugin-search-dir --write '**/*.{js,ts,svelte,css,md,html,json}'", "format": "prettier --plugin-search-dir --write \"**/*.{js,ts,svelte,css,md,html,json}\"",
"format:backend": "black . --exclude \"/venv/\"", "format:backend": "black . --exclude \"/venv/\"",
"i18n:parse": "i18next --config i18next-parser.config.ts && prettier --write 'src/lib/i18n/**/*.{js,json}'", "i18n:parse": "i18next --config i18next-parser.config.ts && prettier --write \"src/lib/i18n/**/*.{js,json}\"",
"cy:open": "cypress open" "cy:open": "cypress open"
}, },
"devDependencies": { "devDependencies": {