Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: avoid using :refer #58

Merged
merged 6 commits into from
Mar 22, 2018
Merged

Conversation

raszi
Copy link
Contributor

@raszi raszi commented Mar 22, 2018

No description provided.

.getCanonicalPath
bundler/parse))
sut/parse))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nowadays we would wrap these with ()

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applies across the codebase.

(markdown/h2 "Minor") (sgen/complete-tag {:name "Minor" :version v/minor})
(markdown/h3 (markdown/emphasis "Patch")) (sgen/complete-tag {:name "Patch" :version v/patch})
(markdown/h3 "Pre-release") (sgen/complete-tag {:name "Pre-release" :version v/pre-release})
(markdown/h4 (markdown/emphasis "Build")) (sgen/complete-tag {:name "Build" :version v/build})))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would help readability if we would alias markdown as md instead. Not necessary change.

[github-changelog.core :as core]
[github-changelog.formatters.markdown :refer [format-tags]]))
[github-changelog.formatters.markdown :as markdown]))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noticed you still use markdown here.

@@ -53,7 +53,7 @@

(deftest parse-changes
(are [pulls expected] (= expected (->> (g/complete-tag {:pulls pulls})
(conventional/parse-changes config)
(sut/parse-changes config)
:changes
count))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also could use wrapping.

@thenonameguy thenonameguy merged commit 202206b into ekataglobal:master Mar 22, 2018
@raszi raszi deleted the cleanups branch March 23, 2018 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants