     (special-mode)
     (select-window (get-buffer-window (current-buffer)))))
 (advice-add 'eieio-browse :around 'eieio-browse-advice)
+
+(use-package flycheck-package
+  :after (flycheck)
+  :config
+  (flycheck-package-setup)
+  (plist-put
+   (symbol-plist 'emacs-lisp-checkdoc)
+   'flycheck-predicate
+   #'package-lint-looks-like-a-package-p))
 
 ;; C/C++/Objective-C
 (use-package cmake-font-lock


  (add-hook 'flycheck-status-changed-functions
            (lambda (status)
              (use-package spinner)
              (pcase status
                (`running (spinner-start 'minibox))
                (- (spinner-stop)))))

  (global-flycheck-mode 1))

(use-package flycheck-posframe
  :if (display-graphic-p)
  :after (flycheck)
  :hook (flycheck-mode . flycheck-posframe-mode))

;; REST API
(use-package restclient
  :commands restclient-mode
  :mode (("\\.http\\'" . restclient-mode)
         ("\\.rest\\'" . restclient-mode))
  :config
  (add-hook 'restclient-mode-hook
            (lambda ()
              (use-package company-restclient
                :after (company)
                :config
                (setq-local company-backends `(company-restclient))))))

;; Term and shell
(with-eval-after-load 'shell

         "\\.soy\\'"
         "\\.as[cp]x\\'"
         "\\.erb\\'"
         "\\.mustache\\'"))

(use-package emmet-mode
  :delight
