You can set js2-basic-offset to 2.
M-x customize-variable- Enter
js2-basic-offset - Set the value to 2
Then Apply and Save button in the customize option buffer. This will add an item to set the variable into .emacs or init.el file.
You can set js2-basic-offset to 2.
M-x customize-variablejs2-basic-offsetThen Apply and Save button in the customize option buffer. This will add an item to set the variable into .emacs or init.el file.