Everytime I run 'create-react-app', my initialized project is using 2 instead of 4 indentation spaces. How to automatically convert to 4 tabs?
I'm using Atom as a text editor. Under 'config.cson', the tab length is always set to 4.
There isn't a way to tell create-react-app to indent using 4 spaces instead of 2. This is a style that the creators of React have standardized on.
The best you can do is do a global search and replace in your source files for two spaces and replace it with four spaces.