[VS Code] VS Code + React Native - ESLint 

After installed ESLint from your VS Code, you should create a new file ".eslintrc" into your project root path.

Then run "yarn add --dev eslint prettier @react-native-community/eslint-config eslint-plugin-flowtype"

Finally copy the below content into ".eslintrc".
{
  "extends": "@react-native-community",
  "rules": {
    "quotes": [2, "double", "avoid-escape"]
  }
}

Done!
Back