You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin ships with a plugin:prettier/recommended config that sets up both the plugin and eslint-config-prettier in one go.
In addition to the above installation instructions, install eslint-config-prettier: npm install --save-dev eslint-config-prettier
Then you need to add plugin:prettier/recommended as the last extension in your .eslintrc.json.
The text was updated successfully, but these errors were encountered:
Hi,
This is a great tool, many thanks.
I'm not sure whether this can (or should) be implemented but would be very helpful if it is, because this configuration is used widely.
Problem
eslint-plugin-prettier
addseslint-config-prettier
configuartion magically, but requires you to addeslint-config-prettier
in thedevDependencies
.As a result
eslint-config-prettier
is reported as "Unused devDependencies".Expected Result
It should not be reported if there is
extends: ["plugin:prettier/recommended"]
in the eslint config.Docs
From
eslint-plugin-prettier
docsThe text was updated successfully, but these errors were encountered: