diff --git a/package.json b/package.json
index 9714f037a..860dc376f 100644
--- a/package.json
+++ b/package.json
@@ -56,7 +56,7 @@
"eslint-utils": "^2.1.0",
"natural-compare": "^1.4.0",
"semver": "^7.3.2",
- "vue-eslint-parser": "^7.5.0"
+ "vue-eslint-parser": "^7.6.0"
},
"devDependencies": {
"@types/eslint": "^7.2.0",
diff --git a/tests/fixtures/html-indent/address-component-01.vue b/tests/fixtures/html-indent/address-component-01.vue
new file mode 100644
index 000000000..62c3e11d1
--- /dev/null
+++ b/tests/fixtures/html-indent/address-component-01.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
diff --git a/tests/fixtures/html-indent/input-component-01.vue b/tests/fixtures/html-indent/input-component-01.vue
new file mode 100644
index 000000000..e4759061c
--- /dev/null
+++ b/tests/fixtures/html-indent/input-component-01.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/fixtures/html-indent/input-component-02.vue b/tests/fixtures/html-indent/input-component-02.vue
new file mode 100644
index 000000000..c7c1c3ad3
--- /dev/null
+++ b/tests/fixtures/html-indent/input-component-02.vue
@@ -0,0 +1,9 @@
+
+
+
+
+ 123
+
+
+
+
diff --git a/tests/lib/rules/html-end-tags.js b/tests/lib/rules/html-end-tags.js
index bb84c3155..76c250c0a 100644
--- a/tests/lib/rules/html-end-tags.js
+++ b/tests/lib/rules/html-end-tags.js
@@ -66,6 +66,22 @@ tester.run('html-end-tags', rule, {
{
filename: 'test.vue',
code: ''
+ },
+
+ // https://github.com/vuejs/eslint-plugin-vue/issues/1403
+ {
+ code: `
+
+
+
+ `,
+ filename: 'test.vue'
}
],
invalid: [
diff --git a/tests/lib/rules/html-self-closing.js b/tests/lib/rules/html-self-closing.js
index d548b79d9..a93844739 100644
--- a/tests/lib/rules/html-self-closing.js
+++ b/tests/lib/rules/html-self-closing.js
@@ -70,7 +70,23 @@ tester.run('html-self-closing', rule, {
// Invalid EOF
'
+
+
+
+ `,
+ filename: 'test.vue'
+ }
// other cases are in `invalid` tests.
],
diff --git a/tests/lib/rules/no-multiple-template-root.js b/tests/lib/rules/no-multiple-template-root.js
index aefaa1a63..7899620a0 100644
--- a/tests/lib/rules/no-multiple-template-root.js
+++ b/tests/lib/rules/no-multiple-template-root.js
@@ -56,6 +56,24 @@ ruleTester.run('no-multiple-template-root', rule, {
filename: 'test.vue',
code:
''
+ },
+
+ // https://github.com/vuejs/eslint-plugin-vue/issues/1439
+ {
+ code: `
+
+
+
+
+
+
+
+
+
+
+
+ `,
+ filename: 'test.vue'
}
],
invalid: [
diff --git a/tests/lib/rules/no-parsing-error.js b/tests/lib/rules/no-parsing-error.js
index 46733a3fe..91b787212 100644
--- a/tests/lib/rules/no-parsing-error.js
+++ b/tests/lib/rules/no-parsing-error.js
@@ -211,7 +211,23 @@ tester.run('no-parsing-error', rule, {
},
'',
'hello
',
- '{{ }}
'
+ '{{ }}
',
+
+ // https://github.com/vuejs/eslint-plugin-vue/issues/1403
+ {
+ code: `
+
+
+
+ `,
+ filename: 'test.vue'
+ }
],
invalid: [
{