Skip to content

Commit 3cbd840

Browse files
author
Your
committed
added eslint & prettier
1 parent 7bd8db5 commit 3cbd840

18 files changed

+165
-11
lines changed

.eslintrc.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
},
1717
"settings": {
1818
"tailwindcss": {
19-
"callees": ["cn"],
19+
"callees": [
20+
"cn"
21+
],
2022
"config": "tailwind.config.js"
2123
},
2224
"next": {
@@ -25,8 +27,11 @@
2527
},
2628
"overrides": [
2729
{
28-
"files": ["*.ts", "*.tsx"],
30+
"files": [
31+
"*.ts",
32+
"*.tsx"
33+
],
2934
"parser": "@typescript-eslint/parser"
3035
}
3136
]
32-
}
37+
}

.prettierrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"endOfLine": "lf",
3+
"semi": false,
4+
"singleQuote": false,
5+
"tabWidth": 2,
6+
"trailingComma": "es5"
7+
}

package-lock.json

Lines changed: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"@tailwindcss/typography": "^0.5.9",
3131
"@types/next": "^9.0.0",
3232
"@types/react": "^18.2.6",
33+
"eslint-config-prettier": "^8.8.0",
3334
"typescript": "^5.0.4"
3435
}
3536
}

public/android-chrome-192x192.png

2.3 KB
Loading

public/android-chrome-512x512.png

8.34 KB
Loading

public/apple-touch-icon.png

1.95 KB
Loading

public/favicon-16x16.png

331 Bytes
Loading

public/favicon-32x32.png

404 Bytes
Loading

public/favicon.ico

15 KB
Binary file not shown.

0 commit comments

Comments
 (0)