Skip to content

Commit

Permalink
prettier configure
Browse files Browse the repository at this point in the history
  • Loading branch information
Mridul2820 committed Jun 11, 2022
1 parent 5da9bae commit 70eed80
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
build
node_modules
yarn.lock
package-lock.json
public
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"useTabs": false,
"semi": true,
"singleQuote": true,
"endOfLine": "lf",
"printWidth": 80,
"tabWidth": 2,
"trailingComma": "es5"
}
42 changes: 42 additions & 0 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"postbuild": "next-sitemap"
"postbuild": "next-sitemap",
"format": "prettier --write ."
},
"dependencies": {
"@apollo/client": "^3.5.6",
Expand Down Expand Up @@ -35,6 +36,8 @@
"eslint": "8.6.0",
"eslint-config-next": "12.0.7",
"postcss": "^8.4.5",
"eslint-config-prettier": "^8.5.0",
"prettier": "2.6.1",
"tailwindcss": "^3.0.12"
}
}

0 comments on commit 70eed80

Please sign in to comment.