I don't see exhaustive-deps error after adding Prettier to Next 13 project
Answered
Satin Angora posted this in #help-forum
Satin AngoraOP
After installing Prettier, this error has disappeared. What configs do I need to tweak to enable it again?
In the config files
In the config files
.eslintrc.json
.prettierignore
and .prettierrc
, there is no declaration that may affect this. And my dependencies are: "dependencies": {
"@formatjs/intl-localematcher": "^0.5.4",
"negotiator": "^0.6.3",
"next": "13.4.9",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "5.1.6"
},
"devDependencies": {
"@types/negotiator": "^0.6.3",
"@types/node": "20.4.2",
"@types/react": "18.2.15",
"@types/react-dom": "18.2.7",
"eslint": "8.44.0",
"eslint-config-next": "13.4.9",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.2.4",
"sass": "^1.71.1"
}