Thomas Rampelberg
1bcd428680
Add propType validation ( #993 )
...
* Add propType validation
When refactoring components, it is hard to know what is required and isn't.
Adds propTypes to the existing components and enables eslint errors for anything
moving forward. This should keep us documenting the API for components.
* Remove extra newline
2018-05-30 17:26:05 -07:00
Kevin Lingerfelt
423a073930
Update eslint config to extend more default rules ( #1035 )
...
* Update eslint config to extend more default rules
* react/no-unused-state rule doesn't recognize _.pick(this.state, ...)
Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>
2018-05-29 18:23:13 -07:00
Risha Mars
55de336325
Add a couple more eslint rules ( #50 )
...
* Add a couple more eslint rules
* Add keyword-spacing
2017-12-15 12:24:42 -08:00
Risha Mars
d11115d241
Add javascript tests ( #45 )
...
* Add JS testing infra: karma, mocha, sinon, chai, enzyme
* Grab styleNum tests from kl
2017-12-14 15:12:26 -08:00
Kevin Lingerfelt
372038f896
Add linting to js and jsx files ( #29 )
...
* Add linting to js and jsx files
* Fix BarChart percentages
* Fix merge issue
* Add indent rule
* Quote poperty names
2017-12-08 16:39:29 -08:00