'vs code fromat on save adds 2 tabs instead of one tab

when I try to format the file it adds 2 tabs instead of just one tab

enter image description here

when I save I get this enter image description here

I used Tab Size = 2 means that the tab is 2 spaces but I can not find the number of tabs attribute that I should edit



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source