eslint-config-phrontend
v0.0.3
Published
An eslint config for phrontend projects
Downloads
7
Readme
eslint-config-phrontend
An eslint config for phrontend and phrontend-webpack. If you like our style guide (eslint config), you can simply use it in your own project.
Install
npm install eslint-config-phrontend --save-dev
eslint-config-phrontend uses babel-eslint as the parser. If you're using npm@3, peerDependencies are not automatically installed. So you'd have to manually install babel-eslint.
npm install babel-eslint --save-dev
Usage
// .eslintrc
{
"extends": "phrontend"
}
Examples
- https://github.com/flipkart-incubator/phrontend-webpack/blob/master/.eslintrc
- https://github.com/flipkart-incubator/phrontend/blob/master/.eslintrc