Closed peterhpchen closed 5 years ago
I just removed prettier
from package.json
(it was there from when I previously had to specify a specific version of prettier
to make use of a bugfix only available in a PR), so @vue/eslint-config-prettier
is doing a little more now. Thanks for your attention to detail. 🙂
There are two points that makes me confused:
@vue/eslint-config-prettier
is installed in devDependencies , but the boilerplate didn’t use the config of the@vue/eslint-config-prettier
in the.eslintrc.js
:The boilerplate use
eslint-config-prettier
config instead of@vue/eslint-config-prettier
config.eslint-config-prettier
,eslint-plugin-prettier
andprettier
installed in@vue/eslint-config-prettier
, but it only useeslint-config-prettier
andprettier
.Base on the above I think it should install
eslint-config-prettier
but uninstall@vue/eslint-config-prettier
.If there are any misunderstandings, please feel free to comment below.
Thank you.