1.0.2 • Published 9 years ago

eslint-config-cerebuild v1.0.2

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

eslint-config-cerebuild

ESLint Configuration for cerebuild projects

NPM version Build status Dependency Status

The sharable ESLint config used in all cerebuild projects.

Usage

Default

The default ESLint configuration lints for ES6.

Install the default configuration package and eslint dependency:

npm install --save-dev eslint-config-cerebuild eslint

Add the config to a .eslintrc.json file or the eslintConfig object in package.json using the ESLint extends attribute:

{
  "extends": "cerebuild"
}

React.js

The React.js eslint configuration lints for both ES6 and React.js.

Install the React.js configuration package and eslint dependency:

npm install --save-dev eslint-config-cerebuild eslint-plugin-react eslint

Add the config to a .eslintrc.json file or the eslintConfig object in package.json using the ESLint extends attribute:

{
  "extends": "cerebuild/react"
}

Testing

A module for test-specific rules is available.

Add the config to a .eslintrc.json file or the eslintConfig object in package.json using the ESLint extends attribute:

{
  "extends": "cerebuild/test"
}

License

MIT

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago