Underscope ESLint config using Prettier, React and React Native.
$ yarn add @underscope/eslint-config
{
"extends": "@underscope/eslint-config",
"rules" {
...
}
}
Open the command pallete by pressing CMD + SHIFT + P and type "Open Settings (JSON)", then make sure you have the following config:
{
"[javascript]": {
"editor.formatOnSave": false
},
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.alwaysShowStatus": true,
"prettier.disableLanguages": ["js"]
}