Skip to content

Commit

Permalink
Update lint scripts, Prettier scripts, and .prettierignore files
Browse files Browse the repository at this point in the history
  • Loading branch information
jtquach1 committed Oct 23, 2023
1 parent 13e9c64 commit 7c3e566
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
4 changes: 3 additions & 1 deletion backend/.prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
dist
dist
node_modules
package-lock.json
8 changes: 4 additions & 4 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"start": "ts-node-dev src/server.ts",
"test": "mocha",
"build": "tsc",
"lint": "tsc && eslint \"**/*.{js,ts}\"",
"lint:fix": "tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix",
"prettier": "prettier --check \"**/*.{js,ts}\"",
"prettier:fix": "prettier --write \"**/*.{js,ts}\""
"lint": "tsc && eslint \"**/*.{js,ts,jsx,tsx,json}\"",
"lint:fix": "tsc --noEmit && eslint \"**/*.{js,ts,jsx,tsx,json}\" --quiet --fix",
"prettier": "prettier --check \"**/*.{js,ts,jsx,tsx,json}\"",
"prettier:fix": "prettier --write \"**/*.{js,ts,jsx,tsx,json}\""
}
}
4 changes: 3 additions & 1 deletion frontend/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
dist
build
build
node_modules
package-lock.json
10 changes: 4 additions & 6 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
"test": "react-scripts test --watchAll=false",
"build": "react-scripts build",
"eject": "react-scripts eject",
"lint": "tsc && eslint \"**/*.{js,ts}\"",
"lint:fix": "eslint \"**/*.{js,ts}\" --quiet --fix",
"prettier": "prettier --check \"**/*.{js,ts}\"",
"prettier:fix": "prettier --write \"**/*.{js,ts}\""
"lint": "tsc && eslint \"**/*.{js,ts,jsx,tsx,json}\"",
"lint:fix": "eslint \"**/*.{js,ts,jsx,tsx,json}\" --quiet --fix",
"prettier": "prettier --check \"**/*.{js,ts,jsx,tsx,json}\"",
"prettier:fix": "prettier --write \"**/*.{js,ts,jsx,tsx,json}\""
},
"eslintConfig": {
"extends": [
Expand All @@ -82,7 +82,5 @@
"last 1 safari version"
]
},

"proxy": "http://localhost:5051"

}

0 comments on commit 7c3e566

Please sign in to comment.