1.0.7 • Published 7 years ago

eslint-config-tucows v1.0.7

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

eslint-config-tucows

Our JavaScript style

This JS style is our base style for all our modern JS projects. It assumes mixed Node/Browser code and the use of ES6 with Babel. It also requires babel-eslint as the parser.

Detailed explanation of the rules.

Installation

npm install --save-dev eslint-config-tucows

Then create an eslint config file in your project that contains:

 "extends": [
     "eslint-config-tucows"
 ]

Recomended script line in package.json (This requires npm >= 4)

"lint": "npx eslint **/*.js --fix"