I am coding in Node.js, each time I want to write something that looks like this:
const product = Factory
.model('App/Models/Product')
.create()
I get this as an output:
const product = Factory
.model('App/Models/Product')
.create()
And I delete back the space before the last line, and then I press Enter to continue coding, the last line jumps right again as this screenshot shows:
Adding (setq-default indent-tabs-mode nil)
in my ~/.emacs
file does not help.
What settings should I add for my Emacs to avoid this?