Skip to content

Commit

Permalink
add eslint and prettier (npm run format)
Browse files Browse the repository at this point in the history
  • Loading branch information
001elijah committed Jun 15, 2023
1 parent a228037 commit 43a38a3
Show file tree
Hide file tree
Showing 5 changed files with 867 additions and 300 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"next",
"next/core-web-vitals",
"plugin:prettier/recommended"
]
}
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"semi": true,
"tabWidth": 2,
"printWidth": 100,
"singleQuote": true,
"trailingComma": "none",
"jsxBracketSameLine": true
}
Loading

0 comments on commit 43a38a3

Please sign in to comment.