upgrade to prettier 2 (#5051)

* arrowParens: avoid
* remove trailingComma setting
This commit is contained in:
chris48s
2020-05-05 21:07:43 +01:00
committed by GitHub
parent 1c736f2159
commit 13d75e0607
337 changed files with 1882 additions and 2707 deletions

View File

@@ -24,7 +24,7 @@ module.exports = class ExampleService extends LegacyService {
static registerLegacyRouteHandler({ camp, cache }) {
camp.route(
/^\/example\/([^\/]+)\/([^\/]+)\.(svg|png|gif|jpg|json)$/,
cache(function(data, match, sendBadge, request) {
cache(function (data, match, sendBadge, request) {
var first = match[1]
var second = match[2]
var format = match[3]