felvieira
10/24/2019 - 6:26 AM

Erro no Prettier

Failed to load plugin 'import' declared in 'CLIOptions

Upgrading to eslint@6* and Prettier integrations
In short, you should now be using prettier-eslint, as a devDependancy of your
project with the VS Code Prettier extension.

The VS Code Prettier extention had the following 
settings option: "prettier.eslintIntegration": true which is now deprecated.

Remove or set to false the option 
"prettier.eslintIntegration": true in your user settings.json 
and in your workspace's .vscode/settings.json. You can replace it
with prettier-eslint's equivalent 
option "prettier-eslint.eslintIntegration": true.

Hat tip goes to @2color and his comment here

Incidentally prettier.tslintIntegration, and prettier.stylelintIntegration
have also been deprecated. If you use either of these Prettier plugins,
you may encounter similar issues.