Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
orzechowskid authored May 3, 2019
1 parent 65e0e69 commit ffae946
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,12 @@ Flymake backend for Javascript using eslint
0. Make sure `eslint` is installed and present on your emacs `exec-path`. For Linux systems `exec-path` usually equals your `$PATH` environment variable; for other systems, you're on your own.
1. Install:
- from MELPA: `M-x package-install [RET] flymake-eslint [RET]`
- manually: download and place inside `~/.emacs.d/lisp`
2. Edit `~/.emacs` or equivalent:
```lisp
(add-to-list 'load-path "~/.emacs.d/lisp")
(require "flymake-eslint.el")
```

## Usage

also in `~/.emacs` or wherever:
- manually: download and place inside `~/.emacs.d/lisp`. then edit `~/.emacs` or equivalent:
```lisp
(add-to-list 'load-path "~/.emacs.d/lisp")
(require "flymake-eslint.el")
```
2. Enable:
```lisp
(add-hook 'web-mode-hook ; or whatever the mode-hook is for your mode of choice
(lambda ()
Expand Down

0 comments on commit ffae946

Please sign in to comment.