Merge pull request #92 from TheRealOwenRees/dev

prettier eslint tailwind setup
This commit is contained in:
Owen Rees
2023-07-12 20:11:29 +02:00
committed by GitHub
4 changed files with 367 additions and 34 deletions
+2 -1
View File
@@ -2,7 +2,8 @@
"extends": [ "extends": [
"next", "next",
"next/core-web-vitals", "next/core-web-vitals",
"plugin:cypress/recommended" "plugin:cypress/recommended",
"prettier"
], ],
"globals": { "globals": {
"React": "readonly" "React": "readonly"
+356 -30
View File
File diff suppressed because it is too large Load Diff
+6 -3
View File
@@ -20,8 +20,6 @@
"@types/react-dom": "18.2.6", "@types/react-dom": "18.2.6",
"@vercel/analytics": "^1.0.1", "@vercel/analytics": "^1.0.1",
"autoprefixer": "10.4.14", "autoprefixer": "10.4.14",
"eslint": "8.43.0",
"eslint-config-next": "^13.4.7",
"jotai": "^2.2.1", "jotai": "^2.2.1",
"leaflet": "^1.9.4", "leaflet": "^1.9.4",
"leaflet-defaulticon-compatibility": "^0.1.1", "leaflet-defaulticon-compatibility": "^0.1.1",
@@ -50,6 +48,11 @@
"@types/leaflet.markercluster": "^1.5.1", "@types/leaflet.markercluster": "^1.5.1",
"@types/nodemailer": "^6.4.8", "@types/nodemailer": "^6.4.8",
"cypress": "^12.16.0", "cypress": "^12.16.0",
"eslint-plugin-cypress": "^2.13.3" "eslint": "8.43.0",
"eslint-config-next": "^13.4.7",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-cypress": "^2.13.3",
"prettier": "3.0.0",
"prettier-plugin-tailwindcss": "^0.4.0"
} }
} }
+3
View File
@@ -0,0 +1,3 @@
module.exports = {
plugins: [require('prettier-plugin-tailwindcss')],
}