Skip to content

Commit

Permalink
chore: add prettier config and run prettier on all files (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
djm158 authored Jan 15, 2025
1 parent b5e4425 commit 375a128
Show file tree
Hide file tree
Showing 14 changed files with 3,278 additions and 1,755 deletions.
6 changes: 4 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"semi": true,
"tabWidth": 2,
"singleQuote": false
}
"singleQuote": false,
"trailingComma": "all",
"arrowParens": "always"
}
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ export default tseslint.config(
{ allowConstantExport: true },
],
},
}
},
);
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"build": "vite build",
"serve": "vite preview",
"test": "vitest run",
"lint": "eslint ."
"lint": "eslint .",
"format": "prettier --write ."
},
"browserslist": [
">0.2%",
Expand All @@ -41,6 +42,7 @@
"eslint-plugin-react-refresh": "^0.4.18",
"globals": "^15.14.0",
"jsdom": "^26.0.0",
"prettier": "^3.4.2",
"ts-node": "^10.9.2",
"typescript": "~5.6.2",
"typescript-eslint": "^8.20.0",
Expand Down
Loading

0 comments on commit 375a128

Please sign in to comment.