mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 22:37:32 +00:00
* Add ESLint config * Add ESLint packages * Add prettier config * Fix ESLint package version * Format all files * Format static assets * Format project root config * Add pre-commit code formatting Formats .css & .js files automatically. If any .ts or .mts files are staged, the entire project is type-checked. Packages: - lint-staged - husky - prettier
6 lines
85 B
Plaintext
6 lines
85 B
Plaintext
if [[ "$OS" == "Windows_NT" ]]; then
|
|
npx.cmd lint-staged
|
|
else
|
|
npx lint-staged
|
|
fi
|