Skip to content

Commit

Permalink
Add Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
psvenk committed Nov 30, 2024
1 parent 8c3c0df commit 4e7c605
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 4 deletions.
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
48 changes: 47 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"format": "prettier --check **/*.{ts,tsx}"
},
"eslintConfig": {
"extends": [
"react-app"
"react-app",
"prettier"
]
},
"eslintIgnore": [
Expand All @@ -50,6 +52,10 @@
"defaults"
],
"engines": {
"node": "^16.16.0"
"node": ">=16.16.0"
},
"devDependencies": {
"eslint-config-prettier": "^9.1.0",
"prettier": "3.4.1"
}
}

0 comments on commit 4e7c605

Please sign in to comment.