Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Latest commit

 

History

History
241 lines (147 loc) · 6.42 KB

CHANGES.md

File metadata and controls

241 lines (147 loc) · 6.42 KB

Changes

Post-5.7.4

  • Become a fork of Prettier instead using whatever Prettier is installed separately
  • Remove custom option parsing, defer to Prettier instead
  • Stop versioning (install from GitHub to use)
  • Remove prettier_dnc script (use prettier_d directly instead)

5.6.0

  • Add .editorconfig support to --pkg-conf option
  • Add --keep-indentation option

5.5.0

  • Parse .prettierrc for config as well as package.json

5.4.0

  • Add prettier_dnc script to streamline netcat usage
  • Add --local-only option/docs
  • Add --pkg-conf option for reading prettier config from nearest package.json

5.3.0

  • Add support for --write and --list-different options
  • Document --fallback and --json in --help message

5.2.0

  • Make it possible to pipe a stream to netcat
  • Document unsupported prettier options
  • Improve --help message

5.1.0

  • Improve CLI parity with prettier
  • Add --json and --fallback options.

5.0.0

Rename project to prettier_d.js, run prettier instead of eslint. Note that no options are currently supported, only simple usage like:

prettier_d file.js # prints formatted file to stdout

# moar speed
PORT=`cat ~/.prettier_d | cut -d" " -f1`
TOKEN=`cat ~/.prettier_d | cut -d" " -f2`
echo "$TOKEN $PWD file.js" | nc localhost $PORT

4.2.5

Add .vimrc example for buffer auto-fixing to README.

4.2.4

Exit with status 1 when an error occurs. Fixes #63.

4.2.2

Fix --fix-to-stdout when used with an ignored file.

4.2.1

Fix --fix-to-stdout when used with an empty file.

4.2.0

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

4.1.0

Support for --print-config was added by Aaron Jensen. He also added instructions for Emacs users.

4.0.1

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.

4.0.0

Use ESLint 3.

3.1.2

Back-ported the security fix from v4.0.1.

3.1.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.

3.1.0

The eslint_d command will now exit with code 1 if errors where reported.

3.0.1

A fix was provided by ruanyl to resolve chalk relative from the actually resolved eslint module.

3.0.0

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.

2.5.1

  • Fix --fix
  • Fix color for local eslint

2.5.0

  • Support color and the --no-color option (fixes issue #7)
  • Improve formatting in "Editor integration" documentation

2.4.0

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)

2.3.2

Fixes an error in case no local eslint module can be found (Kevin Yue)

2.3.1

  • Remove concat-stream dependency and micro optimizations (Richard Herrera)

2.3.0

Richard Herrera implemented a missing eslint feature to lint text provided via stdin. This also fixes issue #13.

2.2.0

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.

2.1.2

Fixes issue #9 with space-containing config path or other shell parameters that need escaping.

2.1.1

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

2.1.0

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

2.0.0

This release 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

1.0.0

  • Initial release