eslint-config-zt
v2.0.0
Published
ZeroTurnaround's ESLint config
Downloads
3,146
Readme
ZeroTurnaround's ESLint config
ESLint shareable config for ZeroTurnaround JavaScript projects.
Installation
$ npm install --save-dev eslint babel-eslint eslint-config-zt
Usage
// .eslintrc
{
"extends": "zt/base",
"rules": {
// Additional, per-project rules...
}
}
Projects with React
- Add additional dependency:
$ npm install --save-dev eslint-plugin-react
- Extend both
zt/base
andzt/react
.