0.5.0 • Published 10 years ago

eslint-config-rubiconproject v0.5.0

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

eslint-config-rubiconproject

The Rubicon Project's Shareable ESLint Config

js-standard-style

Rules

Importantly:

  • Four (4) space tabs.
  • Semicolons.
  • Checkout feross/standard for the rest of the rules.

Installation

$ npm install --save-dev \
	eslint@^2.8.0 \
	eslint-plugin-promise@^1.1.0 \
	eslint-plugin-react@^5.0.1 \
	eslint-plugin-standard@^1.3.2 \
	eslint-config-rubiconproject@^0.5.0

Usage

In your project package.json add the following:

{
  "scripts": {
    "test": "eslint ."
  },
  "eslintConfig": {
    "extends": [
      "rubiconproject"
    ]
  }
}

Note that you may also specify you eslintConfig in an .eslintrc:

{
  "extends": [
    "rubiconproject"
  ]
}

Ignoring files

Ignore files within an .eslintignore:

dist/
foo/baz.js

Specifying globals

See: http://eslint.org/docs/user-guide/configuring#specifying-globals

Ignoring rules inline

See: http://eslint.org/docs/user-guide/configuring#disabling-rules-with-inline-comments

Specifying environments (such as Test)

See: http://eslint.org/docs/user-guide/configuring#specifying-environments

0.5.0

10 years ago

0.4.5

10 years ago

0.4.4

10 years ago

0.4.3

10 years ago

0.4.2

10 years ago

0.4.1

10 years ago

0.4.0

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago