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 eslint
Add 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 eslint
Add 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 eslint
Add the config to a .eslintrc.json
file using the ESLint extends
attribute:
{
"extends": "eta/react"
}
License
MIT