JS indentation changes on paste and when moving line up and down


#1

I write a lot of JavaScript in Atom recently, and since I’ve been using Redux in some projects I’ve noticed that the indentation in switch statements gets changed when I paste or move lines up and down.

My eslint rules expect 4 spaces of indentation on the code after a case, but when I paste code or move it up or down it’s automatically changed to 2.

For example:

Is there any way to change this behaviour to use an extra two spaces of indentation?