Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eknkc/atom-format-standard
Atom Package: Formats JavaScript files using standard style
https://github.com/eknkc/atom-format-standard
Last synced: 9 days ago
JSON representation
Atom Package: Formats JavaScript files using standard style
- Host: GitHub
- URL: https://github.com/eknkc/atom-format-standard
- Owner: eknkc
- License: mit
- Created: 2015-10-24T20:34:05.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-19T14:33:45.000Z (almost 9 years ago)
- Last Synced: 2024-12-17T01:34:11.048Z (17 days ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Format Standard
Atom package to format your Javascript using [Standard Style](https://github.com/feross/standard). Somewhat based on [standard-formatter](https://github.com/stephenkubovic/atom-standard-formatter)
however I could not get it working properly and wanted to have a simple module just for [Standard Style](https://github.com/feross/standard).### 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.
#### Menu
*Packages > Format Standard > Format*
### Settings
#### formatOnSave (default: false)
Format Javascript files when saving.
### Formatting
This package uses [standard-format](https://github.com/maxogden/standard-format) to handle the formatting.
Therefore, only the rules enforced in those packages will be applied.