Skip to content

Commit

Permalink
style: add prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojtazzzz committed Nov 3, 2024
1 parent 86cee73 commit d596c1a
Show file tree
Hide file tree
Showing 13 changed files with 9,023 additions and 5,823 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": ["next/core-web-vitals", "next/typescript"]
"extends": ["next/core-web-vitals", "next/typescript", "next", "prettier"]
}
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Ignore artifacts:
build
coverage
10 changes: 10 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"printWidth": 80,
"singleQuote": true,
"arrowParens": "always",
"useTabs": true,
"jsxSingleQuote": false,
"semi": true,
"trailingComma": "all",
"tabWidth": 2
}
4 changes: 2 additions & 2 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { NextConfig } from "next";
import type { NextConfig } from 'next';

const nextConfig: NextConfig = {
/* config options here */
/* config options here */
};

export default nextConfig;
Loading

0 comments on commit d596c1a

Please sign in to comment.