Skip to content
Atom package to run jscs --fix on your project files
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
keymaps
lib
menus
.editorconfig
.gitignore
.jscsrc
CHANGELOG.md
LICENSE.md
README.md
package.json

README.md

jscs-fixer

Fixes a file using your project's .jscsrc rules file and the --fix switch on jscs

Getting Started

Install the module with: apm install jscs-fixer

Alternatively use Settings → Install → Search for jscs-fixer inside the editor.

Supports

  • Vanilla Javascript (ES5)
  • ES2015 (previously known as ES6/Harmony)
  • JSX

ES2015 and JSX support is based on the esprima-fb parser and can be toggled in the settings pane.

Usage

  • Check the settings pane for package options.

  • Invoke the command using any of the options below:

    1. Use the keyboard shortcut - ctrl++J
    2. Right click on one a file editor and choose Fix this file using jscs
    3. From Command Palette (++P) invoke Jscs Fixer: Fix

jscs-fixer

Notes

To get linting support, you will need this package: https://atom.io/packages/linter-jscs

License

Copyright (c) 2015 Fábio Oliveira. Licensed under the MIT license.

You can’t perform that action at this time.