-
Force all open connections to close when the server is stopped (#79) (Aaron Jensen)
This is a less graceful approach to stopping the server, but it allows for editors to hold a connection open to make for an even faster response time.
This was primarily implemented to allow eslintd-fix to hold a connection open to reduce latency when a fix is performed.
- Allow using the
--stdin
flag with netcat (#74) (Caleb Eby) - Refactor
portfile.read
to a single async fs call
- Eslint 4 (#71) (Simen Bekkhus)
- Update readme with eslint 4 (#72) (Simen Bekkhus)
- Use @studio/changes for release and remove
Makefile
Add .vimrc
example for buffer auto-fixing to README.
Exit with status 1 when an error occurs. Fixes #63.
Fix --fix-to-stdout
when used with an ignored file.
Fix --fix-to-stdout
when used with an empty file.
An exciting new feature comes to eslint_d, the first one that is not part of
eslint itself. Aaron Jensen implemented --fix-to-stdout
which
allows to integrated eslint --fix
into your editor as a save action 🎉
Currently, this feature only works with --stdin
and you can test it like this:
$ cat ./some/file.js | eslint_d --fix-to-stdout --stdin
Support for --print-config
was added by Aaron Jensen. He also
added instructions for Emacs users.
Fixes a security issue that was noticed by Andri Möll. Thanks for
reporting! To avoid CSRF attacks, this introduces a security token
that must be sent by clients on each request. This change also binds the daemon
explicitly to 127.0.0.1
instead of implicitly listening on all network
interfaces.
Use ESLint 3.
Back-ported the security fix from v4.0.1
.
As per a recent change in eslint the default parser espree
was
removed. The eslint
dependency was bumped to 2.10.2
which
introduced the change.
The eslint_d
command will now exit with code 1 if errors where reported.
A fix was provided by ruanyl to resolve chalk
relative from the
actually resolved eslint module.
jpsc got the eslint 2 upgrade started. eslint_d
will now use
eslint 2.2+ if no local install of eslint is found.
Also in this release:
- Support
--inline-config
and--cache-location
options - Pass
cwd
through to eslint.
- Fix
--fix
- Fix color for local eslint
- Support color and the
--no-color
option (fixes issue #7) - Improve formatting in "Editor integration" documentation
Roger Zurawicki figured out how to make eslint_d
work in WebStorm.
- Add information about
--cache
in the readme (netei) - Add symlink to
eslint.js
for WebStorm compat (Roger Zurawicki)
Fixes an error in case no local eslint module can be found (Kevin Yue)
- Remove
concat-stream
dependency and micro optimizations (Richard Herrera)
Richard Herrera implemented a missing eslint feature to lint text provided via stdin. This also fixes issue #13.
Resolves the eslint
module for each working directory separately. This allows
multiple versions of eslint to co-exist. This is required to support local
plugins like the babel-eslint
parser (see issue #10). If no local eslint
install is found, the one that was installed with eslint_d
is used.
Fixes issue #9 with space-containing config path or other shell parameters that need escaping.
Fixes issue #8 on Windows when launching in a cmd
shell where eslint_d
was hanging indefinitely.
- Update Sublime linter URL to it's new home
- Add note for Atom users
Make eslint_d
work out of the box in vim with the syntastic eslint checker.
- Add
--version
and-v
options - Do not start server when called with
-h
or--help
- Downgrade
optionator
to align with eslint - Update instructions for vim integration
This realease support (almost) all eslint
options. Check eslint_d --help
.
Breaking that API already: The lint
command was removed and in case you're
not passing a control command like start
, stop
, restart
or status
, the
given options are passed to the linter.
Also, the default output format was changed from compact
to stylish
to
align with eslint
.
- Document vim syntastic javascript checkers (Chris Gaudreau)
- invokations -> invocations (Juho Vepsäläinen)
- Document Sublime editor integration
- Handle linter exceptions
- Initial release