Diamond Lewis
142eaa71bd
Run Prettier JS #2 ( #6796 )
2020-07-13 15:13:08 -07:00
Diamond Lewis
e6a6354b29
Run Prettier JS ( #6795 )
2020-07-13 13:06:52 -05:00
Florent Vilmart
d83a0b6808
Use Prettier JS ( #5017 )
...
* Adds prettier
* Run lint before tests
2018-09-01 13:58:06 -04:00
Florent Vilmart
8c2c76dd26
Adds liniting into the workflow ( #3082 )
...
* initial linting of src
* fix indent to 2 spaces
* Removes unnecessary rules
* ignore spec folder for now
* Spec linting
* Fix spec indent
* nits
* nits
* no no-empty rule
2016-11-24 15:47:41 -05:00
Florent Vilmart
ac348f5c4f
Reverts calling next() after handling response ( #2634 )
...
* Revert "Makes sure routes don't overlap and yield a header set error"
* removes next() calls in PromiseRouter
* Reverts calling next() after response
* Adds fail calls when next() calls traverse tests
2016-09-09 17:28:41 -04:00
Florent Vilmart
23e47f2e28
Makes sure routes don't overlap and yield a header set error ( #2559 )
2016-08-21 13:57:12 -04:00
Florent Vilmart
fc3ebd0bd0
Style improvements ( #2475 )
...
* HooksRouter is enabled by default
* Adds middleswares on PromiseRouter, fixes #2410
* Move testing line to helper
* Modernize middlewares.js
* Moves DB uniqueness initialization to DBController, modernize
* Moves testing related code to spec folder
* remove unused _removeHook function
* Adds tests, docs for Analytics and improvements
* nit
* moves back TestUtils
2016-08-07 20:02:53 -07:00
Marek Mikołajczyk
d1a6caeee3
Allow usage of analytics adapter ( #2327 )
...
* Allow usage of analytics adapter
* Use promises in controller
2016-07-20 09:27:15 -04:00