1.11.0 • Published 9 years ago

ajsfmt v1.11.0

Weekly downloads
-
License
BSD-2-Clause
Repository
bitbucket
Last release
9 years ago

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