Closed 6XGate closed 9 months ago
Hi! Can you provide steps to reproduce this issue, please? eslint-plugin-prettier is not required for this config to be used.
Just installed the config repo add extended the shareable config.
yarn add --dev eslint-config-prettier
prettier
to the extends
array.eslint-config-prettier is this repo. It’s a config that turns a bunch of rules off.
eslint-plugin-prettier is the repo over here: https://github.com/prettier/eslint-plugin-prettier. It’s a plugin that provides the prettier/prettier
rule.
sorry, put the wrong name in the list... it was support to be yarn add eslint-config-prettier
.
I claim that it works.
Can you post full steps to reproduce to prove what happens?
Closing due to no response.
Just got back on here, but the full setup is in a code base that I don't own and I never got an example working. Actually already thought this was closed.
The documentation does not give instructions on properly installing this configuration. It will results in
Definition for rule 'prettier/prettier' was not found
. It needs to tell the dev to install the prettier plug-in AND add it to the plug-in list.