1 2 3 4 5 6 7 8 9 10 11 12 13 |
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! |