This package has been deprecated

Author message:

Please use standard instead

a-standard

1.0.7 • Public • Published

a-standard

like standard, but with a bigger punch

js-standard-style

Travis npm

This is a new take on Standard. It's made specifically for new node projects running babel, and includes more rules for better looking code. It also adds babel specific configuration for those pesky es7 linting errors. What are those styles you might ask?

  • No console log statements! Use a library for that sort of thing
  • No sync methods. Ever.
  • Template literals are nice. Use them.
  • Are you really still using var instead of the amazing const and let?

That is just a small taste of what aStandard offers. For a better picture, check the always up to date, unit tested, linted file here.

Usage

npm install a-standard

Then add a convenience function to your package.json:

"scripts": {
  "lint": "a-standard"
}

Or you can use the eslint config directly.

Configuration

aStandard uses the standard-engine which in turn uses eslint. Simply put the options you want in your package.json like so:

"a-standard": {
  "env": {
    "jquery": true,
    "mocha": true
  }
}

Awesome people and things

Package Sidebar

Install

npm i a-standard

Weekly Downloads

2

Version

1.0.7

License

MIT

Last publish

Collaborators

  • btkostner