Skip to content

Commit

Permalink
Merge pull request #52 from dkrest1/server
Browse files Browse the repository at this point in the history
Server
  • Loading branch information
dkrest1 authored Oct 29, 2023
2 parents 1d507f8 + ff2acf6 commit f2c11f3
Show file tree
Hide file tree
Showing 6 changed files with 2,629 additions and 60 deletions.
3 changes: 2 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"dev": "vite",
"build": "vite build",
"lint": "eslint src --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"preview": "vite preview",
"prepare": "cd .. && husky install client/.husky"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.4.0",
Expand Down
26 changes: 26 additions & 0 deletions server/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
module.exports = {
"env": {
"browser": true,
"es2021": true
},
"extends": "eslint:recommended",
"overrides": [
{
"env": {
"node": true
},
"files": [
".eslintrc.{js,cjs}"
],
"parserOptions": {
"sourceType": "script"
}
}
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
}
}
4 changes: 4 additions & 0 deletions server/.husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

cd server && npx lint-staged
Loading

0 comments on commit f2c11f3

Please sign in to comment.