 (use-package js2-mode
   :mode "\\.js\\'"
   :interpreter "node"
-  :config
-  (setc js-indent-level 2)
-  (setc js2-strict-missing-semi-warning nil))
+  :custom
+  (js-indent-level 2)
+  (js2-strict-missing-semi-warning nil))
 
 (use-package rjsx-mode
   :mode "\\.jsx\\'")
 
 (use-package company
- :demand t
- :bind (:map
-        company-active-map
-        ("<return>" . nil)
-        ("RET" . nil)
-        ("<C-return>" . company-complete-selection)
-        ("<tab>" . nil)
-        ("TAB" . nil)
-        ("<C-tab>" . company-complete-common-or-cycle))
- :config
- (setc company-idle-delay 0.1)
- (setc company-minimum-prefix-length 1)
- (global-company-mode))
+  :demand t
+  :bind (:map
+         company-active-map
+         ("<return>" . nil)
+         ("RET" . nil)
+         ("<C-return>" . company-complete-selection)
+         ("<tab>" . nil)
+         ("TAB" . nil)
+         ("<C-tab>" . company-complete-common-or-cycle))
+  :custom
+  (company-idle-delay 0.1)
+  (company-minimum-prefix-length 1)
+  :config
+  (global-company-mode))
 
 (use-package yasnippet
   :config

  :ensure org-plus-contrib
  :pin org
  :mode ("\\.org\\'" . org-mode)
  :config
  (setc org-log-note-clock-out t)
  (setc org-duration-format 'h:mm)
  (setc org-pretty-entities t))

(use-package writeroom-mode
  :commands writeroom-mode)

;;; this custom-file (i.e. do not load it)
(setq custom-file "~/.emacs-custom-ignored.el")

(custom custom-safe-themes
        '("c74e83f8aa4c78a121b52146eadb792c9facc5b1f02c917e3dbb454fca931223"
          "9be1d34d961a40d94ef94d0d08a364c3d27201f3c98c9d38e36f10588469ea57"
          default))

;;; * packages

(use-package auto-package-update
  :custom
  (auto-package-update-delete-old-versions t)
  (auto-package-update-hide-results t)
  :config
  (auto-package-update-maybe))

(use-package base16-theme
  :config
