Both eslint-config-prettier and eslint-plugin-prettier are popular packages for integrating ESLint with Prettier.
However, after reading Docs of both of them I understood that both would do the job. But, if we use eslint-plugin-prettier, there will be a few issues that would not happen if we would use eslint-config-prettier. Also, when using eslint-plugin-prettier recommended config, it would use eslint-config-prettier behind the scene.
It seams to me that eslint-config-prettier has obvious advantages over eslint-plugin-prettier, but eslint-plugin-prettier is still very popular and it has really a lot of weekly downloads on npm. Did I miss something? What would be advantage of using eslint-plugin-prettier?