Skip to content

Commit

Permalink
install precommit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
nahbee10 committed Nov 7, 2024
1 parent 7e081d7 commit fc910be
Show file tree
Hide file tree
Showing 3 changed files with 261 additions and 14 deletions.
4 changes: 4 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"printWidth": 100
}
16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@
"lodash.debounce": "^4.0.8",
"mime": "^4.0.4",
"node-fetch": "2.6.9",
"postcss": "8.4.47",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"react-i18next": "^14.1.0",
"react-is": "^18.2.0",
"styled-components": "^5.3.11",
"tailwindcss": "^3.4.14",
"postcss": "8.4.47"
"tailwindcss": "^3.4.14"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.2",
Expand Down Expand Up @@ -81,9 +81,12 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-tailwindcss": "^3.17.4",
"husky": "^9.1.6",
"i18next-parser": "^8.13.0",
"js-yaml": "^4.1.0",
"lighthouse": "10.0.1",
"lint-staged": "^15.2.10",
"postcss-import": "^16.1.0",
"prettier": "2.8.4",
"puppeteer": "19.4.1",
"rollup": "3.17.3",
Expand All @@ -94,15 +97,14 @@
"url-pattern": "1.0.3",
"vinyl": "^3.0.0",
"vinyl-fs": "^4.0.0",
"wait-on": "7.0.1",
"postcss-import": "^16.1.0"
"wait-on": "7.0.1"
},
"resolutions": {
"@types/react": "^18.x"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,md}": [
"prettier --write"
]
},
"packageManager": "[email protected]"
Expand Down
Loading

0 comments on commit fc910be

Please sign in to comment.