Add prettier lint config

This commit is contained in:
David Stotijn 2022-02-01 18:13:14 +01:00
parent ed394507d3
commit e07163fef3
No known key found for this signature in database
GPG key ID: B23243A9C47CEE2D
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{
"extends": "next/core-web-vitals",
"extends": ["next/core-web-vitals", "prettier"],
"rules": {
"@next/next/no-css-tags": "off"
}

View file

@ -25,8 +25,7 @@
"next": "^12.0.8",
"next-fonts": "^1.0.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"typescript": "^4.0.3"
"react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/core": "^7.0.0",
@ -38,6 +37,7 @@
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.1.2",
"typescript": "^4.0.3",
"webpack": "^5.67.0"
}
}