style: eslint, prettier, and tailwind config

This commit is contained in:
spencerwooo
2023-01-26 15:36:53 +08:00
parent 799a423dbd
commit ebe202602d
7 changed files with 21 additions and 18 deletions
+16
View File
@@ -74,5 +74,21 @@
"prettier-plugin-tailwindcss": "^0.2.2",
"tailwindcss": "^3.2.4",
"typescript": "4.9.4"
},
"prettier": {
"printWidth": 120,
"arrowParens": "avoid",
"singleQuote": true,
"semi": false,
"plugins": [
"prettier-plugin-tailwindcss"
]
},
"eslintConfig": {
"extends": [
"next",
"next/core-web-vitals",
"prettier"
]
}
}