chore: run lint and prettifier

This commit is contained in:
3252a8
2026-05-12 21:54:12 +03:00
parent f31540afdb
commit 11187487b4
174 changed files with 12383 additions and 6688 deletions
+24 -2
View File
@@ -4,7 +4,21 @@
"build:webapp:svelte": "vite build --config ./bot/app/web/frontend/vite.config.mjs",
"build:webapp:css": "npm run build:webapp:svelte",
"build:webapp:js": "node ./scripts/build_subscription_webapp_js.mjs",
"build:webapp": "npm run build:webapp:svelte && npm run build:webapp:js"
"build:webapp": "npm run build:webapp:svelte && npm run build:webapp:js",
"lint": "npm run lint:py && npm run lint:js",
"lint:py": "python -m ruff check .",
"lint:js": "eslint bot/app/web/frontend scripts",
"lint:fix": "npm run lint:py:fix && npm run lint:js:fix",
"lint:py:fix": "python -m ruff check --fix .",
"lint:js:fix": "eslint bot/app/web/frontend scripts --fix",
"format": "npm run format:py && npm run format:js",
"format:py": "python -m ruff format .",
"format:js": "prettier --write \"bot/app/web/frontend/**/*.{js,svelte}\" \"scripts/**/*.mjs\"",
"format:check": "npm run format:check:py && npm run format:check:js",
"format:check:py": "python -m ruff format --check .",
"format:check:js": "prettier --check \"bot/app/web/frontend/**/*.{js,svelte}\" \"scripts/**/*.mjs\"",
"check": "npm run lint && npm run format:check",
"fix": "npm run format && npm run lint:fix"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^7.0.0",
@@ -18,6 +32,14 @@
"svelte": "^5.55.5",
"tailwind-merge": "^3.5.0",
"tailwindcss": "4.2.4",
"vite": "^8.0.10"
"vite": "^8.0.10",
"@eslint/js": "^9.39.2",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-svelte": "^3.14.0",
"globals": "^16.5.0",
"prettier": "^3.7.4",
"prettier-plugin-svelte": "^3.4.0",
"svelte-eslint-parser": "^1.4.1"
}
}