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
Copy file name to clipboardExpand all lines: docs/rules/html-end-tags.md
+3-14
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,12 @@
2
2
3
3
-:wrench: The `--fix` option on the [command line](http://eslint.org/docs/user-guide/command-line-interface#fix) can automatically fix some of the problems reported by this rule.
4
4
5
-
This rule enforce the way of end tags.
6
-
7
-
-[Void elements] disallow end tags.
8
-
- Other elements require end tags.
9
-
10
5
## :book: Rule Details
11
6
12
-
This rule reports the following elements:
7
+
This rule reports:
13
8
14
-
-[Void elements] which have end tags.
15
-
-Other elements which do not have end tags and are not self-closing.
9
+
-presence of and end tag on [Void elements](https://www.w3.org/TR/html51/syntax.html#void-elements)
10
+
-absence of both an end tag (e.g. `</div>`) and a self-closing opening tag (e.g. `<div/>`) on other elements
16
11
17
12
:-1: Examples of **incorrect** code for this rule:
18
13
@@ -37,9 +32,3 @@ This rule reports the following elements:
0 commit comments