1.0.0 • Published 7 years ago

eslint-config-terreon v1.0.0

Weekly downloads
4
License
Apache-2.0
Repository
bitbucket
Last release
7 years ago

ESLint Config Terreon

NPM version NPM downloads

An ESLint Shareable Config for JavaScript Standard Style with some changes:

  • 4 spaces – for indentation
  • No space after function namefunction name(arg) { ... }
  • No spaces required inside comments//console.log('foo')

Installation

npm install eslint-config-standard

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

To use the JavaScript Standard Style shareable config, first run this:

npm install --save-dev eslint-config-terreon

Then, add this to your .eslintrc file:

{
  "extends": "terreon"
}

Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc file.

License

Apache 2.0