Rest: fix `complexity` lint error in gen-routes script.
paperclover opened this issue · 0 comments
paperclover commented
In rest/scripts/gen-routes.js, we have a lint error here because transformContents
is too complex. I agree with the lint, this is a complex function.
I personally do not care enough to fix this myself for the time being, since it's just a build-time script.