eslint-config-rubiconproject

0.5.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-rubiconproject

Weekly Downloads

1

Version

0.5.0

License

MIT

Last publish

Collaborators

  • ericliu121187
  • sterpe