I was setting up a new Next project with linting, and was kind of confused why we need those different extra dependencies to make ESlint and Prettier works together, like eslint-config-prettier, eslint-plugin-prettier. so for the first time I started to learn them (before I pretty much just follow some instructions online).
write down a small blog, hopefully it could help some people
https://medium.com/@shawnxu0208/how-to-use-eslint-and-prettier-together-3b66318e5cc9