yarn add --dev https://github.com/improvin/eslint-config-improvin.git
yarn add --dev prettier eslint
{
"extends": "eslint-config-improvin"
}
Some editor plugins for prettier
will attempt to use the .prettierrc
file in your project and ignore any other forms of configuration. To use the prettier
rules for this configuration, make sure your editor plugins support eslint --fix
and do not have an error warning of a missing .prettierrc
file.