Standard formatting in Javascript

2017/06/03

Categories: javascript Tags: javascript

Formatting in Javascript must not be pain. You don’t have to use any linting configurations files. No .eslintrc, .jshintrc, or .jscsrc files to manage. Beside linting it also warns you about programmer errors early e.g unused variables, unhandled errors and more. Give StandardJs a try!

Installation

npm install standard --save-dev

Editor support

Other editors

Using

Examples

Simple integration in your build scripts.

  "scripts": {
    "test": "standard && nyc mocha"
  }

References

comments powered by Disqus