This Pull Request is taking longer than usual (4 days) to be finished.
🎉 Congratulations!
This Pull Request does not add any new issues to your codebase.
-
Strings must use doublequote.
assets/js/app.js import hljs from 'highlight.js/lib/core';
import elixir from 'highlight.js/lib/languages/elixir';
-
Extra semicolon.
assets/js/app.js import $ from "jquery"
import hljs from 'highlight.js/lib/core';
import elixir from 'highlight.js/lib/languages/elixir';
-
Strings must use doublequote.
assets/js/app.js import $ from "jquery"
import hljs from 'highlight.js/lib/core';
import elixir from 'highlight.js/lib/languages/elixir';
-
Extra semicolon.
assets/js/app.js let csrfToken = document.querySelector("meta[name='csrf-token']").getAttribute("content");
let liveSocket = new LiveSocket("/live", Socket, { params: { _csrf_token: csrfToken } });
// connect if there are any LiveViews on the page
-
Identifier '_csrf_token' is not in camel case.
Enforce the usage of camel case to have a consistent codebase.
assets/js/app.js let csrfToken = document.querySelector("meta[name='csrf-token']").getAttribute("content");
let liveSocket = new LiveSocket("/live", Socket, { params: { _csrf_token: csrfToken } });
// connect if there are any LiveViews on the page
-
Extra semicolon.
assets/js/app.js let csrfToken = document.querySelector("meta[name='csrf-token']").getAttribute("content");
let liveSocket = new LiveSocket("/live", Socket, { params: { _csrf_token: csrfToken } });
-
TODO found
-
TODO found
Reported by CodeClimate™ FIXME
lib/hexpm_web/views/dashboard/organization_view.ex # TODO: Check if last invoice was unpaid and add note about it?
defp subscription_status(%{"status" => "canceled"}, _card) do
"Not active"
-
TODO found
Reported by CodeClimate™ FIXME
lib/hexpm_web/views/dashboard/organization_view.ex defp subscription_status(%{"status" => "incomplete"}, _card) do
"TODO"
end
-
TODO found
Reported by CodeClimate™ FIXME
lib/hexpm_web/views/api/user_view.ex # TODO: DRY up
# Atoms sort before strings
defp repository_sort(%Package{repository_id: 1}), do: :first