🔧 Add script for ESLint

This commit is contained in:
Alejandra 2024-03-08 17:45:34 +01:00 committed by GitHub
parent 21fdff93c6
commit 5e48da384e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,7 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint ./src --ext .ts,.tsx --fix",
"format": "prettier --write ./src/**/*.{ts,tsx,js,jsx,json,md} --ignore-path .prettierignore",
"preview": "vite preview",
"generate-client": "openapi --input ./openapi.json --useOptions --useUnionTypes --output ./src/client --client axios --exportSchemas true"