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

Adding support for a white list of attributes that can be lower case. #121

Merged
merged 1 commit into from
May 1, 2016

Conversation

molant
Copy link
Contributor

@molant molant commented Apr 15, 2016

When enabling the rule instead of using a boolean, use an array with the attributes (camelCased) that you want to ignore

{
  "attr-lowercase": ["viewBox"]
}

Fixes #28

When enabling the rule instead of using a boolean, use an array with the attributes (camelCased) that you want to ignore
```json
{
  "attr-lowercase": ["viewBox"]
}
```
Fixes htmlhint#28
@coveralls
Copy link

Coverage Status

Coverage increased (+0.002%) to 98.704% when pulling db994d7 on molant:lowercase-whitelist into fa5913f on yaniswang:master.

@yaniswang yaniswang merged commit 1b649c2 into htmlhint:master May 1, 2016
@joeyparrish
Copy link
Contributor

Will this be in 0.9.14? Any idea when that would be released?

@yaniswang
Copy link
Contributor

It is allready merged into v0.9.13

@joeyparrish
Copy link
Contributor

Great, thanks!

shaka-bot pushed a commit to shaka-project/shaka-player that referenced this pull request Jan 18, 2017
This is better than ignoring all camelcase.

Introduced by htmlhint/HTMLHint#121 and released in 0.9.13.

However, 0.9.13 is incompatible with node v0.10.  This was fixed
in htmlhint/HTMLHint#132, but there has not been a release since
(in 8 months).

Therefore we are pinning to today's git version instead of a release.
This gets us the camelcase whitelisting feature and doesn't break with
node v0.10.

Change-Id: I1e3b6c0c96ef24662b46497b1a601bde0dae5704
joeyparrish added a commit to shaka-project/shaka-player that referenced this pull request Jan 19, 2017
This is better than ignoring all camelcase.

Introduced by htmlhint/HTMLHint#121 and released in 0.9.13.

However, 0.9.13 is incompatible with node v0.10.  This was fixed
in htmlhint/HTMLHint#132, but there has not been a release since
(in 8 months).

Therefore we are pinning to today's git version instead of a release.
This gets us the camelcase whitelisting feature and doesn't break with
node v0.10.

Change-Id: I1e3b6c0c96ef24662b46497b1a601bde0dae5704
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants