Project Structure (React Native)

Linting


Tabs vs Spaces

use script with smudge-clean.

~/.gitconfig

# filters to convert between tabs to spaces
[filter "tabspace"]
    smudge = unexpand --tabs=2 --first-only
    clean = expand --tabs=2 --initial

~/.gitattributes

*.txt  filter=tabspace

https://github.com/gilesbowkett/git-smudge-and-clean

https://github.com/intellicode/eslint-plugin-react-native