Atom Packages Directory

a package directory for a text editor of the 21st Century

Format Standard

Install with:
    apm install format-standard
  

Format Standard

Atom package to format your Javascript using Standard Style. Somewhat based on standard-formatter however I could not get it working properly and wanted to have a simple module just for Standard Style.

Usage

Keybindings

Use ctrl-alt-f to format the current Javascript file. If a text selection is made, only the selected text will be formatted.

Format On Save

Automatically format your Javascript file on save by enabling the Format On Save package setting. This is off by default.

Packages > Format Standard > Format

Settings

formatOnSave (default: false)

Format Javascript files when saving.

Formatting

This package uses standard-format to handle the formatting. Therefore, only the rules enforced in those packages will be applied.

Keywords: formatter, standard Suggest keywords
Fork me on GitHub