Search code examples
macosemacseslintflycheck

Flycheck package status obsolete


I am trying to integrate Flycheck into my emacs. I installed Flycheck exec-path and js-standard through the package manager.

enter image description here

My .emacs file contains:

(add-hook 'after-init-hook #'global-flycheck-mode)

;; https://github.com/purcell/exec-path-from-shell
;; only need exec-path-from-shell on OSX
;; this hopefully sets up path and other vars better
(when (memq window-system '(mac ns))
  (exec-path-from-shell-initialize))

I have a .eslint file in the same home location as my .emacs (.bash_profile as well) on unix osx yosemite.

How can I fix this obsolete status and run Flycheck. I apologize in advance for being new to linting my code, low level emacs user here.


Solution

  • Emacs marks packages as “obsolete” if a newer version of the package is loaded. Emacs never loads obsolete versions, thus obsolete versions may safely be removed. Go to the package menu in M-x list-packages, then type ~ (mark obsolete packages for removal) and then x (execute actions). Alternatively type U and x to conduct a full upgrade of all packages which includes removal of any obsolete packages.


    In any case the “obsolete” status doesn't have any impact on the package at all: It'll continue to work normally.

    If Flycheck does not work for you, please ask a new question about Flycheck specifically, and include all debugging information. Note that there's a dedicated Emacs community on StackExchange where you question is better placed.