ajsfmt
v1.11.0
Published
attempts to reformat javascript to comply with the Atlassian JS Style
Downloads
14
Readme
ajsfmt
experimental auto formatter for the Atlassian JS Code Quality Guide
Installation
Install with npm
$ npm install -g ajsfmt
Example Usage
Format all javascript files, overwriting them into Atlassian Format
$ ajsfmt -w
Format javascript over stdin
$ ajsfmt < file.js > formatted-file.js
Format and overwrite specific files
$ ajsfmt -w file1.js file2.js
History and License
This project began as a fork of standard-format, a project from Max Ogden which itself uses esformatter.
Since then the two have diverged but the cli remains similar.
Portions (c) Max Ogden and standard-format contributors