Skip to content

tucows/eslint-config-tucows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

Releases

No releases published

Packages

No packages published