eslint-config-terreon

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i eslint-config-terreon

Weekly Downloads

0

Version

1.0.0

License

Apache-2.0

Last publish

Collaborators

  • bikeshedder