Skip to content

Instantly share code, notes, and snippets.

@franciscoj
Created January 8, 2016 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save franciscoj/2598464491cfe5edcef6 to your computer and use it in GitHub Desktop.
Save franciscoj/2598464491cfe5edcef6 to your computer and use it in GitHub Desktop.
Configure project to use local eslint (the one in your node-modules)
;; -*- mode: emacs-lisp; -*-
;; It will ask you whether those are safe values when opening a file on the project,
;; type `!` then to make take it as safe values :)
;; Take into account that it will add this as a safe value to your ~/.spacemacs
((nil . ((eval . (progn
(setq flycheck-javascript-eslint-executable
"/path/to/the/project/node_modules/.bin/eslint")
)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment