1.0.0 • Published 8 years ago
eslint-config-eta v1.0.0
eslint-config-eta
Emerging Technology Advisors ESLint Configuration
This is the sharable ESLint config used in ETA projects.
Usage
Default
The default ESLint configuration lints for ES5.
Install the default configuration package and eslint dependency:
npm i -S -D eslint-config-eta eslintAdd the config to a .eslintrc.json file using the ESLint extends attribute:
{
"extends": "eta"
}ES6
The ES6 ESLint configuration lints for ES6.
Install the default configuration package and eslint dependency:
npm i -S -D eslint-config-eta eslintAdd the config to a .eslintrc.json file using the ESLint extends attribute:
{
"extends": "eta/es6"
}React.js
The React.js eslint configuration lints for both ES6 and React.js.
Install the React.js configuration package and eslint dependency:
npm i -S -D eslint-config-eta eslint-plugin-react eslint-plugin-babel eslintAdd the config to a .eslintrc.json file using the ESLint extends attribute:
{
"extends": "eta/react"
}