Releases: rdio/jsfmt
Releases · rdio/jsfmt
v0.5.3
v0.5.2
v0.5.1
- Improved ES6 support.
v0.5.0
- Allow overriding default plugins via .jsfmtrc config file.
- Improved error reporting: log errors to stderr and more consistent exit status codes.
- Better es6 support through upgraded dependencies: esformatter, esprima and escodegen.
v0.4.1
- Upgrade esformatter to
0.5.0
. - Use process.stdout.write instead of console.log to avoid outputting extra newline
- Utilize esformatter-var-each to format vars on individual lines.
v0.4.0
- Added two new command-line args for AST formatting. Note that these are experimental and may be removed.
- Removed
--config
option in favor of .jsfmtrc and better docs around rc. - Updated esformatter and using new esformatter plugin for automatic brace insertion.
- Updated style guide to include esformatter changes.
- Fixes and cleanup for shebang.
- Support for variable arguments using ES6 rest syntax.
- General rewrite cleanup.
- Changing exit code to
-1
on missing arg failure. - Updates to
rc
and other dependencies.
v0.3.2
- Adding support for
UnaryExpression
- Fixing bug where rewrite types were not being set properly
v0.3.1
- Fixed bug when searching for expressions within BlockStatement or Program body
- Added JSON support
v0.3.0
- Added CONTRIBUTING
- Added tests
- Added Gruntfile for development
- Added CI support
- Added style guide
- Added default formatting config
- Exposed
jsfmt.getConfig
api method for loading jsfmt config - Exposed
jsfmt.format(js[, options])
api method for formatting - Added
--validate
option and exposedjsfmt.validate
api method - Pinned dependencies