Skip to content

Commit

Permalink
🖌️ Added linting scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Somfic committed Dec 18, 2023
1 parent 28a5150 commit dd58b88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
"build-client": "cd src-client && yarn build",
"prebuild-server": "yarn terminate",
"build-server": "tsx scripts/build-csharp.ts",
"build": "yarn build-client && yarn build-server"
"build": "yarn build-client && yarn build-server",
"lint-server": "cd src-csharp && dotnet format --check",
"lint-client": "cd src-client && yarn lint",
"lint": "yarn lint-server && yarn lint-client"
},
"author": "",
"license": "ISC",
Expand Down
3 changes: 2 additions & 1 deletion src-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"test": "vitest"
"test": "vitest",
"lint": "eslint --ext .js,.ts,.svelte src"
},
"devDependencies": {
"@playwright/test": "^1.28.1",
Expand Down

0 comments on commit dd58b88

Please sign in to comment.