    ;; `trailing' to delete only the whitespace at end of lines, `changed'to
    ;; delete only whitespace for changed lines or `nil' to disable cleanup.
    ;; (default nil)
-   dotspacemacs-whitespace-cleanup nil
+   dotspacemacs-whitespace-cleanup 'all
+
+   ;; Indentation
+   default-tab-width 2
+   standard-indent 2
+   js-indent-level 2
+   js2-basic-offset 2
    ))
 
 (defun dotspacemacs/user-init ()

            ;; shell-pop-window-size 30
            ;; shell-default-full-span nil
            shell-default-height 33
            ;; shell-default-position 'left
            )
     spell-checking

   ;; Press <SPC f e R> (Vim style) or to reload this config
   dotspacemacs-configuration-layers
   '(
     ruby
     html
     (elm :variables
          elm-format-on-save t)
