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
Idiomatic namespace alias for clojure.spec.alpha should be s
instead of spec
#245
Comments
I totally agree: I might have time to put together a PR for discussion tomorrow. |
(I found a bit of time today for a PR for discussion!) |
The PR for this has been merged. I'm not sure what's required to get that published on the site. |
Ah, it's automatic. I was just impatient. |
Thanks very much, @seancorfield. Your PR adds much clarity and corrects the issue. I referenced your PR in a clj-kondo ticket about adding the community guideline aliases as a linter. It'll be nice to have community standards like this reinforced by the tooling once myself or someone else implements that ticket. |
All of the official documentation uses
s
as the namespace alias forclojure.spec.alpha
but the style guide's Use Idiomatic Namespace Aliases section suggests to usespec
instead. Is there a reason for diverging from the official docs or is this a bug in the style guide?The text was updated successfully, but these errors were encountered: