-
-
Notifications
You must be signed in to change notification settings - Fork 681
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
Proposed rule: enforce typography #51
Comments
Double spaces was already on my list. :) Punctuation space seems fine. But quotes worries me. The package you link to changes normal quotes to smart ones - but emphasizes that you still type dumb quotes the easy way. |
Yes, you would either be writing the correct quotes directly, or use a package like the one above to make your life easier. I realize that this might not be a useful rule for a lot of users, it sounds more like good material for a custom rule. |
It fits within the bigger idea of a typography rule, but maybe this part would default to "off". I like the idea to bundle these similar checks, though. |
Please also note that these rules can depend on text language.
|
Checks on properly balanced quotes and the way they terminates sentences is what I'n trying to achieve at: sindresorhus/awesome-lint#101 . Only managed to create a set of use-cases at the moment. |
Here's a few checks that I would like to have:
“”
instead of""
.’
instead of'
.I think code should be excluded by default for all these checks.
For the first two, Atom has a really nice package that might be used as inspiration.
The text was updated successfully, but these errors were encountered: