Atom Packages Directory

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

Fixmyjs by Sindre Sorhus

Install with:
    apm install fixmyjs


Automagically fix JSHint lint warnings using fixmyjs

Issues with the output should be reported on the fixmyjs issue tracker.


$ apm install fixmyjs

Or, Settings → Install → Search for fixmyjs


Open the Command Palette and type fixmyjs.

Can also be run on just a selection. For example the code in a <script> tag.

Legacy mode

By default, this plugin uses the FixMyJS legacy mode. This option uses the last stable version of the module which uses JSHint to detect errors in your code and fix them.

It does not include all of the fixes the current version of FixMyJS exposes, but does do a much better job of preserving source formatting. Legacy mode can be switched off in the settings.

Keyboard shortcut

Set the keyboard shortcut you want in your keymap:

cson 'atom-text-editor': 'cmd-shift-x': 'FixMyJS'


MIT © Sindre Sorhus

Keywords: javascript, format, beautify, prettify, jshint Suggest keywords
Fork me on GitHub