JSPM

  • Created
  • Published
  • Downloads 37429
  • Score
    100M100P100Q141225F
  • License MIT

All the goodness of `feross/standard` with semicolons sprinkled on top.

Package Exports

  • semistandard

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (semistandard) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

JavaScript Semi-Standard Style

travis npm downloads

One Semicolon for the Dark Lord on his dark throne

All the goodness of feross/standard with semicolons sprinkled on top.

Install

npm install semistandard -g

Rules

Importantly:

Sublime users: Try SublimeLinter-contrib-semistandard for linting in your editor!

What you might do if you're clever

  1. Add it to package.json
{
  "name": "my-cool-package",
  "devDependencies": {
    "semistandard": "*"
  },
  "scripts": {
    "test": "semistandard && node my-normal-tests-littered-with-semicolons.js"
  }
}
  1. Check style automatically when you run npm test
$ npm test
Error: Code style check failed:
  lib/torrent.js:950:11: Expected '===' and instead saw '=='.
  1. Never give style feedback on a pull request again! (unless it's about semicolons)

See feross/standard for more information. In fact, you should probably just use the standard module instead.