A standard layout code using airbnb config , prettier and eslint for JSX on React Native.
- Prettier is about to auto adjust your typing code more readable , paragraph and identation
- and ESLint is for about linting code , like error or warning it run on terminal after compile .
Replace the essential file config below into your workspace
- .eslintignore (for exclude the modules linting)
- .eslinttrc.json (config for eslint)
- .prettierrc.json (config for prettier)
You can download it on VSCode Extension
Also visit the tutorial in Indonesian , Artikel