Released by Maximilian Antoni on 2024-10-30.
- 🐛
7de5596
Fix require chalk and debug relative to eslint - 🐛
a64924d
Time out waiting for config - 🐛
e833e9e
Fix process title debug log - ✨
9acaa84
Change branch name to main - 📚
df02009
Add funding.yml
Released by Maximilian Antoni on 2024-10-30.
- 🍏
5e99a06
Add support for--debug
- 📚
d522c67
Add documentation for--debug
- 📚
b792bd9
Align help message option order with README
Released by Maximilian Antoni on 2024-10-19.
- 🐛
93064d0
fix: unhandled 'error' event (L2jLiga)
Released by Maximilian Antoni on 2024-10-04.
Reliability improvements:
- 🍏
4b2df30
feat: launch daemon on forward failure (#318) (Andrey Chalkin) - 🍏
a4b5570
feat: implement isAlive check (Andrey Chalkin) - 🐛
fbe0137
fix: config file removed before watcher started (#316) (Andrey Chalkin)
Released by Maximilian Antoni on 2024-10-02.
Andrey Chalkin fixed the stop
command on Windows OS 🙏.
- 🐛
c10da7a
fix: stop command not working on Windows OS (#313) (Andrey Chalkin) - ✨
2892b45
Add coverage-reports to eslint and tsc ignores - ✨
93771f4
Run all tests for stopDaemon on all platforms - ✨
3188cde
Add test:coverage script
Released by Maximilian Antoni on 2024-09-19.
- 🐛
a7adf39
Ignore exit code from eslint if --fix-to-stdout - ✨
daa2a1a
chore: fix unit tests on Windows (L2jLiga) - ✨
a356ae0
Setup husky and lint-staged
Released by Maximilian Antoni on 2024-08-03.
Bring back --fix-to-stdout
support (Damien Cassou), fix running on Windows
and support paths with spaces (L2jLiga).
- 🍏
1cbf8ae
Add support for --fix-to-stdout (Damien Cassou) - 🐛
5b3b7c3
fix: not working when paths in config contains spaces (L2jLiga) - 🐛
663dfa1
fix(resolver): eslint path detection not working on Windows (L2jLiga) - 🐛
72eb4f6
Resolve timing issue with reading config - 📚
e24151d
Bring back documentation for --fix-to-stdout - 📚
647e5d5
Update README to indicate compatibility with eslint 9 (Damien Cassou) - ✨
f2c5880
Add tests for --fix-to-stdout and catch JSON errors - ✨
12f3afa
Refactor forwarder to remove a limitation in the size of the error code (Damien Cassou) - ✨
fb110f0
Add .editorconfig (Damien Cassou)
Released by Maximilian Antoni on 2024-08-02.
- 🐛
0ae6f25
Fix hash when changing directories
Released by Maximilian Antoni on 2024-07-28.
This is a complete rewrite of eslint_d
. Please see the README
for more details.
- 💥
bb7c71c
Drop node 12, 14 and 16, add node 22 - 💥
a852373
Add new implementation - 💥
85b938c
Remove all sources - 📚
7ce116f
Rewrite README - ✨
71b35f9
Add prettier, tsc and integration tests to build
Released by Maximilian Antoni on 2024-07-28.
afb1114
fix: adds ability to filter cli options before passing to eslint (#284) (Christopher Aubut)5379fde
docs: add known flat config limitations to README.md (#282) (Christopher Aubut)
Released by Maximilian Antoni on 2023-12-22.
- 🐛
accdc41
feat: support eslint flat config on windows (#280) (asasinmode) - 📚
3b71636
Add contributor - 🛡️
8357a59
Bump debug from 4.1.1 to 4.3.4 in /test/fixture/v6.0.x (dependabot[bot])
Released by Maximilian Antoni on 2023-11-27.
- 🍏
399b462
feat: adapt to new eslint flat config (#277) (Amrit Kahlon) - 📚
6fa5719
Document experimental support for flat config - 📚
0fc2f66
Add contributor
Released by Maximilian Antoni on 2023-11-12.
- 💥
e8380b4
Upgradecore_d
to v6 which sends error messages tostderr
- 🍏
a81af28
Update default eslint to v8.50.0 - 📚
8a44986
Add compatibility notes for v13 - 📚
65bb02e
Add contributors - ✨
6fc629c
Upgrade GitHub actions - ✨
1cd7458
Add node 18.x and 20.x to build matrix - ✨
7f908a3
Update semver - ✨
bb7c260
Update optionator - ✨
9abe9e4
Upgrade mocha to v10 - ✨
1eebcde
Upgrade referee-sinon
Released by Maximilian Antoni on 2023-10-06.
- 🐛
8e94a60
Prevent unhandled promise exception (#215) (Christian Alfoni) - 🐛
15144a1
Fix typo in options-eslint.js (Thorsten Ball) - 📚
92665f5
Update Sublime Text information in README (herr kaste)
Released by Maximilian Antoni on 2022-09-27.
- 🍏
96e34ef
Migrate tocore_d
v5 and implement common package manager file checks - 🍏
a2331e3
Implement files hash checker
Released by Maximilian Antoni on 2022-05-26.
Released by Maximilian Antoni on 2022-04-21.
- 💥
43d0a5f
Upgrade default eslint to v8.12.0 - 💥
a1d4197
Invalidate cache based on content hash rather than modification time (#190) (Dara Dermody) - 📚
e5e9fb9
Add compatibility notes for v12 - 📚
693f680
Improve documentation about supported versions - 📚
e2a30c2
Add contributor - 🛡
db8dbae
npm audit - 🛡
73c8f13
Bump ajv from 6.11.0 to 6.12.6 in /test/fixture/v5.16.x (dependabot[bot]) - 🛡
9004f87
Bump ajv from 6.12.2 to 6.12.6 in /test/fixture/v7.0.x (dependabot[bot]) - 🛡
3e5550a
Bump ajv from 6.11.0 to 6.12.6 in /test/fixture/v6.8.x (dependabot[bot]) - 🛡
16bfe5c
Bump ajv from 6.10.0 to 6.12.6 in /test/fixture/v5.0.x (dependabot[bot]) - 🛡
978dee0
Bump ajv from 6.10.0 to 6.12.6 in /test/fixture/v4.0.x (dependabot[bot]) - 🛡
bcb6b1f
npm audit test fixtures - 🛡
b8a0b68
npm audit - ✨
734a22a
Move prepare.sh into scripts
Released by Maximilian Antoni on 2022-04-06.
Released by Maximilian Antoni on 2021-11-26.
- 🍏
33db423
Support Passing Alternative Eslint Module Path (#175) (James Pulec)Allow passing an alternative path to an eslint module using the
--eslint-path
option. This makes it easier to support different module resolution schemes, such as Yarn PnP. - ✨
21d44b9
Use eslint v8.0.x instead of the beta in tests - 📚
bc77aff
Add contributor
Released by Maximilian Antoni on 2021-11-15.
- 💥
38d4c67
Remove node 10 support - 🍏
05b7e17
Add node 16 to GitHub action - 🍏
efbd072
Support eslint 8 beta - 📚
bf2dcf1
Update compatibility notes - ✨
0e84c82
Upgrade mocha to v9 - ✨
0e6da22
Removemocha-referee-sinon
- ✨
a78384d
Upgradereferee-sinon
- ✨
39ac4a7
Updatecore_d
Released by Maximilian Antoni on 2021-09-04.
- 🐛
163f6a7
Fix--config
flag (Jose Alvarez)
Released by Maximilian Antoni on 2021-05-27.
- 🐛
58088b9
Fix --fix to work with --quiet (Dani Pinyol)
Released by Maximilian Antoni on 2021-05-21.
- 📚
1e4d696
Clarify location of .eslint_d in README (Damien Cassou) - 📚
4f9bceb
Add a note to 10.1.0 regarding the location of .eslint_d (Damien Cassou) - 📚
9e43358
Add contributor
Released by Maximilian Antoni on 2021-05-12.
- 🍏
48f1e1a
Implement exit codes (Jose Alvarez) - 🍏
a2f3a0e
Depend on core_dv3.1
- 🛡
fd332c2
Bump lodash from 4.17.19 to 4.17.21 in /test/fixture/v6.0.x (dependabot[bot]) - 🛡
cd87b1f
Bump lodash from 4.17.19 to 4.17.21 in /test/fixture/v5.0.x (dependabot[bot]) - 🛡
be57447
Bump lodash from 4.17.19 to 4.17.21 in /test/fixture/v4.0.x (dependabot[bot]) - 🛡
a37575d
Bump lodash from 4.17.19 to 4.17.21 (dependabot[bot]) - ✨
2cf221b
Update Studio Changes - ✨
bbfc483
Update semver - ✨
48b94f9
Update eslint - ✨
10a536c
Update mocha - ✨
2a468a0
Upgrade referee-sinon to latest - ✨
6d1f4d0
Use npm 7 - 📚
f47e45e
Add contributor
Note: If you rely on the .eslint_d
file, please note that its
location has changed and that the XDG_RUNTIME_DIR
is taken into
account if it exists. See the README.md file for more information.
Released by Maximilian Antoni on 2021-05-09.
- 📚
b256c48
Document fix for .vue files not autofixed (#154) (Artur Tagisow) - 📚
c63b44b
Add contributor
Released by Maximilian Antoni on 2021-02-28.
- 🐛
c732b77
Fix--print-config
for eslint 7+ (#153) (Dan Orzechowski) - 📚
25c2921
Add contributors - ✨
3e4c1b2
Update Studio Changes
Released by Maximilian Antoni on 2021-02-23.
- 🐛
bc46363
Generate correct help - ✨
058d662
Refactor eslint path resolution into own file - ✨
0df364d
Do not run builds twice on own branch PR - ✨
39ab052
Run build for PRs
Released by Maximilian Antoni on 2021-02-10.
- 🐛
f62713b
Unbreakeslint_d --help
(Christian Albrecht)
Released by Maximilian Antoni on 2021-02-10.
Switch to the new ESLint
API, if available. The CLIEngine
API has been
deprecated.
- 💥
ee74815
BREAKING: Use ESLint class if available - 📚
1d6227e
Add compatibility notes for v10 - 📚
d67e203
Document ale integration and not sublime issue - 📚
68c4eec
Change badge - ✨
93dba52
Remove Travis config - ✨
b8b9f3c
Configure GitHub actions - ✨
d83c9b9
Fix watch script - ✨
e65fdb9
Update mocha - ✨
06d9b71
Upgrade referee-sinon - ✨
2b42e64
Add contributors
Released by Maximilian Antoni on 2021-01-30.
Fixes an issue with --color
/ --no-color
not working correctly.
- 🐛
17ae7bd
Use level property instead of enabled for chalk (#139) (Ibuki) - 📚
c72869f
Update eslint version compatibilty note - 🛡
646772c
npm audit - 🛡
6d606db
Bump lodash from 4.17.15 to 4.17.19 in /test/fixture/v5.16.x (dependabot[bot]) - 🛡
de3a6b9
Bump lodash from 4.17.15 to 4.17.19 in /test/fixture/v4.19.x (dependabot[bot]) - 🛡
7380d79
Bump lodash from 4.17.15 to 4.17.19 (dependabot[bot]) - 🛡
04d37b1
Bump lodash from 4.17.15 to 4.17.19 in /test/fixture/v6.0.x (dependabot[bot]) - 🛡
2816459
Bump lodash from 4.17.15 to 4.17.19 in /test/fixture/v7.0.x (dependabot[bot]) - 🛡
f838505
Bump lodash from 4.17.15 to 4.17.19 in /test/fixture/v6.8.x (dependabot[bot]) - 🛡
5a53f65
Bump lodash from 4.17.15 to 4.17.19 in /test/fixture/v4.0.x (dependabot[bot]) - 🛡
195b19b
Bump lodash from 4.17.15 to 4.17.19 in /test/fixture/v5.0.x (dependabot[bot])
Released by Maximilian Antoni on 2020-09-08.
Fixes an issue with pnpm being unable to resolve chalk
.
- 🐛
6f2f88d
Fix issue #101 (Alexander Koltun)
Released by Maximilian Antoni on 2020-06-23.
- 🍏
836912c
Update eslint to v7.3 - 🍏
09c46d6
Upgradecore_d
to v2 - 📚
f4f1cd3
State pnpm compatibility - ✨
0cd4828
Upgrade Mocha to v8 - ✨
8e2b18e
Update@sinonjs/referee-sinon
to v7.1
Released by Maximilian Antoni on 2020-06-22.
Now ships with eslint 7, drops Node 8 support, adds Node 14. Note that
eslint_d
continues to support older eslint versions down to v4.
- 💥
5f14916
Support eslint 7 - 💥
e8fa144
Remove node 8 from travis config - 🍏
7e518b8
Add node 12 to travis config - 🍏
71e140c
Update optionator tov0.9.1
- 📚
0b830e6
Update compatibility notes forv9.0.0
- ✨
c9512fc
Upgrade Studio Changes to v2 - ✨
6825f70
Upgrade to referee-sinon 7 - ✨
17e164f
Upgrade to Mocha 7 - ✨
875e004
Update eslint config
Released by Maximilian Antoni on 2020-06-09.
Security patches.
- 🛡
2f0c21e
npm auditv6.8.x
fixture - 🛡
912818c
npm auditv6.0.x
fixture - 🛡
72ad6f5
npm auditv5.16.x
fixture - 🛡
706250e
npm auditv5.0.x
fixture - 🛡
c609c3a
npm auditv4.19.x
fixture - 🛡
4983414
npm auditv4.0.x
fixture - 🛡
ffb150a
npm audit - 🛡
6e0434e
Bump acorn from 7.1.0 to 7.1.1 in /test/fixture/v6.8.x (dependabot[bot]) - 🛡
30f87d3
Bump acorn from 6.1.1 to 6.4.1 in /test/fixture/v6.0.x (dependabot[bot]) - 🛡
414a697
Bump acorn from 6.4.0 to 6.4.1 in /test/fixture/v5.16.x (dependabot[bot]) - 🛡
6e2fc82
Bump acorn from 6.1.1 to 6.4.1 in /test/fixture/v5.0.x (dependabot[bot]) - 🛡
06a6144
Bump acorn from 6.1.1 to 6.4.1 (dependabot[bot])
Released by Maximilian Antoni on 2020-03-21.
- 🍏
501333a
Reviewed existing CLI options. Added new ESLint CLI options. (MarS)Added next CLI options:
--parser-options
- Specify parser options--resolve-plugins-relative-to
- A folder where plugins should be resolved from, CWD by default--fix-dry-run
- Automatically fix problems without saving the changes to the file system--fix-type
- Specify the types of fixes to apply (problem, suggestion, layout)--report-unused-disable-directives
- Adds reported errors for unused eslint-disable directives--init
- Run config initialization wizard'--env-info
- Output execution environment information--error-on-unmatched-pattern
- Prevent errors when pattern is unmatched
- 📚
8abbf0d
Add v6 to eslint version compatibility statement - ✨
a8ca530
Bump eslint-utils from 1.3.1 to 1.4.2 (dependabot[bot])Bumps eslint-utils from 1.3.1 to 1.4.2.
Signed-off-by: dependabot[bot] [email protected]
- ✨
ac8378b
Upgrade mocha to v6 - ✨
b922130
Bump lodash from 4.17.11 to 4.17.14 (dependabot[bot])Bumps lodash from 4.17.11 to 4.17.14.
Signed-off-by: dependabot[bot] [email protected]
Released by Maximilian Antoni on 2020-02-19.
This release retains compatibility with projects depending on eslint v4 and v5.
- 💥
34a1012
Upgrade default eslint to v6 - 💥
dca7236
Drop Node 6 support, add Node 12 to test config - 📚
44e7bb1
v8 compatibility - 🐛
f72bea2
Bump js-yaml from 3.12.0 to 3.13.1 in /test/fixture/v5.0.x (dependabot[bot])Bumps js-yaml from 3.12.0 to 3.13.1.
Signed-off-by: dependabot[bot] [email protected]
- 🐛
d1370e2
Bump js-yaml from 3.12.0 to 3.13.1 in /test/fixture/v4.0.x (dependabot[bot])Bumps js-yaml from 3.12.0 to 3.13.1.
Signed-off-by: dependabot[bot] [email protected]
- 🐛
2e8b375
Bump js-yaml from 3.12.1 to 3.13.1 (dependabot[bot])Bumps js-yaml from 3.12.1 to 3.13.1.
- 🐛
72de52e
Movesupports-color
dependency tocore_d
Released by Maximilian Antoni on 2019-06-24.
With this release, most of the code from this project was moved to
core_d. This allows you to build your
own projects using the same technique as eslint_d
for Standard, Prettier and
other tools.
- 🍏
786d439
Extractcore_d
- 📚
a1501ec
Link tocore_d
in the docs - 🐛
48a95f5
Reinstall dependencies - 🐛
1bf34a7
Remove superfluoussinon.restore()
calls - ✨
8f64205
Use mocha-referee-sinon to verify all tests have assertions - ✨
ec24293
Use @sinonjs/referee-sinon v5
Released by Maximilian Antoni on 2019-02-26.
Now you can have multiple projects with a mix of eslint
4.0+ and 5.0+
dependencies. The test suite of eslint_d
has been enhanced to run tests
against all supported major versions.
- 🍏
f00a097
Change eslint dependency version to^4 || ^5
- 🍏
25dddb0
Run tests against eslint v4.0 and v5.0 - 🐛
91aa059
Update npm in Travis Node 6 build - 📚
3491f4f
Add a note about eslint version compatibility
Released by Maximilian Antoni on 2018-12-04.
If the daemon process was killed or crashed and an orphaned ~/.eslint_d
file
was present, the eslint_d
command would repeatedly fail to connect. With this
patch, the ~/.eslint_d
file is removed on ECONNREFUSED
errors and a new
instance is created transparently.
- 🐛
ec25134
Transparent relaunch on connection failure - 🐛
4abea7c
Do not retry on connection failure - 📚
6eaf262
Fix list formatting in changelog - 📚
2fb112b
Fix changelog formatting - 📚
436b45f
Update Studio Changes for--footer
support
Released by Maximilian Antoni on 2018-09-18.
When updating eslint or a plugin, like prettier, eslint_d had to be restarted
with eslint_d restart
to pick up the changes. With this release, the internal
cache is discarded and a new instance is created when one of these files is
touched: package.json
, package-lock.json
, npm-shrinkwrap.json
or
yarn.lock
.
- The source level of this module was changed to ES 6
- Node support is now explicitly stated to be Node 6, 8 and 10
- The new unit test suite is executed on Travis with all supported Node versions
eslint_d
now ships with eslint^5.4.0
.
312c35e
Move start and restart to client42bbb54
Fix superfluous newline on socket "end" event64c1d6d
Refactorclient.js
685fcf0
Refactorserver.js
88cb781
Remove unnecessary try-catchafefb2f
ExtractresolveModules
helper4c70735
Consolidateconnect
logicd979eca
Improve compatibility notes in readmea55d177
Update dependencies240732c
Move--no-color
handling into client.js017e78f
Add tests forlinter.js
97f1e10
Add tests forserver.js
b7739ec
Refactordaemon.js
out ofserver.js
d793f4c
Do not callprocess.stdout.write
directly451978d
Add tests forclient.js
907847c
Use https links and point build badge to master0518785
Add tests forlauncher.js
33eb49b
Add tests forportfile.js
05e990d
Add travis config, build badged25082a
Switch eslint config to@studio/eslint-config
acfe398
Fix color support (#88)6851625
Upgrade supports-color to v523cb9c2
Remove direct chalk dependencyChalk is required relative to eslint, so the direct dependency is not being used.
745e013
Add commit hashes in changelog
- Upgrade to eslint 5 (Aaron Jensen)
- Fix vulnerabilities by updating eslint
- Use nanolru to limit the number of cached instances
This also enhances the status command to show the number of cached instances.
- Document cache eviction and link to nanolru
- Connect to 127.0.0.1 instead of localhost (#84) (Joseph Frazier)
If
localhost
doesn't resolve to127.0.0.1
, the client cannot connect to the server. This issue arose in josephfrazier/prettier_d#7, and I ported the changes from there.
- fix(launcher): passthrough environment variables (#81) (Huáng Jùnliàng)
- 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