0.0.3 • Published 8 years ago

eslint-config-phrontend v0.0.3

Weekly downloads
1
License
Apache-2.0
Repository
-
Last release
8 years ago

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

  1. https://github.com/flipkart-incubator/phrontend-webpack/blob/master/.eslintrc
  2. https://github.com/flipkart-incubator/phrontend/blob/master/.eslintrc