I was trying to figure out the way i can change the default tab indent size of my TS files generated by Ionic CLI
Whenever i run ionic generate
command it creates the file with tab indention of 2 spaces
How can i make it to default 4?
I was trying to figure out the way i can change the default tab indent size of my TS files generated by Ionic CLI
Whenever i run ionic generate
command it creates the file with tab indention of 2 spaces
How can i make it to default 4?
I don't think that this is possible to configure within the ionic-cli. But it's easy to change the defaults for .ts files in your text editor/IDE.
Usually there is an .editorconfig file (in the root of the project) for this. Read more about here.