change 4 spaces indent to 2

Change 4 spaces indent to 2 according to .editorconfig file config