Skip to content

Added nonbsp option to warn about non-breaking spaces #1458

Closed
wants to merge 1 commit into from

3 participants

@prayerslayer

Emits warnings if non-breaking spaces should be disallowed (set nonbsp to true). See issue #1456.

@prayerslayer prayerslayer Added nonbsp option
if non-breaking spaces should be disallowed (true | false)
6b446df
@nschonni
nschonni commented Jan 4, 2014

This might be a better fit for https://github.com/mdevils/node-jscs as JSHint isn't taking "style" PRs anymore.

@prayerslayer

Yes, maybe. However I argue that this option is not only about style as the combination of non-breaking spaces and no UTF-8 encoding will (or may) cause errors on your page :)

@valueof valueof added a commit that referenced this pull request Jan 26, 2014
@prayerslayer prayerslayer Issue #1456: New option - nonbsp (PR #1458)
Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
3cb02e3
@valueof valueof closed this Jan 26, 2014
@jugglinmike jugglinmike added a commit to jugglinmike/jshint that referenced this pull request Oct 21, 2014
@prayerslayer prayerslayer Issue #1456: New option - nonbsp (PR #1458)
Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
199d762
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.