ft-interactive / visual-vocabulary-templates

Library of chart templates based on the visual vocabulary
http://ft-interactive.github.io/visual-vocabulary-templates/
76 stars 11 forks source link

Adds top-level linting script #134

Open aendra-rininsland opened 6 years ago

aendra-rininsland commented 6 years ago

This adds a command to package.json for when developing VVT locally:

npm run lint:all

This will run linting on everything. If you run:

npm run lint:all -- --fix

...It will attempt to fix issues.

I'm halfway tempted to make linting fail CI so that we stop committing unlinted code...