-
- Downloads
Enforce use of template literals (#2242)
This is consistent with what we're pretty much already doing, and saves us from making the request during code review. These were all autofixed and most of them seem easier to read. Some in the legacy services should be rewritten in more legible forms during refactor (ie using intermediate variables, or using request’s qs option). There are some in helper functions and elsewhere that should get rewritten separately. I don't want to change them in this PR because the changes will get lost in this diff, though we could identify them here and fix them before or just after.
Showing
- .eslintrc.yml 1 addition, 0 deletions.eslintrc.yml
- frontend/components/badge-examples.js 1 addition, 1 deletionfrontend/components/badge-examples.js
- frontend/components/search-results.js 1 addition, 1 deletionfrontend/components/search-results.js
- lib/badge-cli.js 1 addition, 3 deletionslib/badge-cli.js
- lib/badge-data.js 7 additions, 8 deletionslib/badge-data.js
- lib/color-formatters.js 1 addition, 1 deletionlib/color-formatters.js
- lib/github-auth.js 5 additions, 5 deletionslib/github-auth.js
- lib/load-logos.js 1 addition, 1 deletionlib/load-logos.js
- lib/log.js 1 addition, 1 deletionlib/log.js
- lib/logo-helper.js 1 addition, 1 deletionlib/logo-helper.js
- lib/lru-cache.js 1 addition, 1 deletionlib/lru-cache.js
- lib/make-badge.js 5 additions, 5 deletionslib/make-badge.js
- lib/php-version.js 3 additions, 3 deletionslib/php-version.js
- lib/request-handler.js 1 addition, 1 deletionlib/request-handler.js
- lib/result-sender.js 1 addition, 1 deletionlib/result-sender.js
- lib/service-test-runner/runner.js 1 addition, 1 deletionlib/service-test-runner/runner.js
- lib/suggest.js 1 addition, 1 deletionlib/suggest.js
- lib/text-formatters.js 4 additions, 4 deletionslib/text-formatters.js
- lib/version.js 2 additions, 2 deletionslib/version.js
- server.js 3 additions, 3 deletionsserver.js
Loading
Please register or sign in to comment