You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: documentation for new configuration structure (#447)
* docs: new configuration structure for alt-require
* docs: new configuration structure for attr-lowercase
* docs: new configuration structure for attr-no-duplication
* docs: new configuration structure for attr-no-unnecessary-whitespace
* docs: update getting started
* docs: add missing rules
* docs: fix broken links
* docs: new configuration structure for attr-sorted
* docs: remove unnecessary prettier-ignore
* docs: new configuration structure for attr-unsafe-chars
* docs: new configuration structure for attr-value-double-quotes
* docs: new configuration structure for attr-value-not-empty
* docs: use texts from rules
* docs: new configuration structure for attr-value-single-quotes
* docs: new configuration structure for attr-whitespace
* docs: new configuration structure for doctype-first
* docs: new configuration structure for doctype-html5
* docs: remove empty-tag-not-self-closed
* docs: new configuration structure for head-script-disabled
* docs: new configuration structure for href-abs-or-rel
* docs: new configuration structure for id-class-ad-disabled
* docs: new configuration structure for id-class-value
* docs: new configuration structure for id-unique
* docs: new configuration structure for inline-script-disabled
* docs: new configuration structure for inline-style-disabled
* docs: new configuration structure for input-requires-label
* docs: new configuration structure
* docs: update doc attr-whitespace
* docs: update doc tags-check
* docs: update doc tagname-specialchars
* docs: update doc
Checks against regexp pattern: `/[\u0000-\u0009\u000b\u000c\u000e-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/`
9
9
10
-
Level: `warning`
10
+
## Possible Configuration Values
11
11
12
-
## Config value
12
+
```json
13
+
{
14
+
"attr-unsafe-chars": "off",
15
+
"attr-unsafe-chars": "warn",
16
+
"attr-unsafe-chars": "error",
17
+
"attr-unsafe-chars": ["off"],
18
+
"attr-unsafe-chars": ["warn"],
19
+
"attr-unsafe-chars": ["error"]
20
+
}
21
+
```
22
+
23
+
## Default
24
+
25
+
```json
26
+
{ "attr-unsafe-chars": "off" }
27
+
```
28
+
29
+
---
13
30
14
-
1. true: enable rule
15
-
2. false: disable rule
31
+
## Examples
16
32
17
-
The following pattern are **not**considered violations:
33
+
Examples of **correct**code for this rule:
18
34
19
-
<!-- prettier-ignore -->
20
35
```html
21
36
<li>
22
37
<ahref="https://vimeo.com/album/1951235/video/56931059">Sud Web 2012</a>
0 commit comments