atom-standard-formatter
atom-standard-formatter copied to clipboard
Atom package to format code using Javascript Standard Style.
### Prerequisites * [ ] Put an X between the brackets on this line if you have done all of the following: * Reproduced the problem in Safe Mode: *...
[Enter steps to reproduce:] 1. ... 2. ... **Atom**: 1.43.0 x64 **Electron**: 4.2.7 **OS**: Microsoft Windows 10 Pro **Thrown From**: [standard-formatter](https://github.com/stephenkubovic/atom-standard-formatter) package 2.8.0 ### Stack Trace Failed to load the...
``` "standard": "^8.2.0", "standard-format": "^2.2.3" ```
Fixes #56. The `standard.lintText()` function is [needlessly asynchronous](https://github.com/Flet/standard-engine/blob/9a25255b308c865ea2ada4598bb2be4f6dac0676/index.js#L58-L70) (note the `nextTick()` function), this simply applies the actual operation in a synchronous way.
The plugin can't see `standard-flow` parser even when it is installed globally (npm i standard-flow -g) or locally.
first, I'm sorry. my english is very poor. My question is, How to make it support *.vue files. in *.vue file, it's don't work, but *.js is ok
Whenever I run the formatter (on save or through `ctrl+alt+f`) it unfolds all of my previously folded lines (even if no formatting changes had been made).
- Installed plugin - Checked "Format on Save" and "Honor Package Config" - Installed global `standard` and `standard-format` - Save file, nothing. `standard-format foo.js` works as expected. `ctrl + alt...
it is the same concept as #51 but without code conflict