Parsing error:x-invalid-end-tag
Reason: When iView renders tags as native html tags, some tags are self-closing, such as input, so having end tags will report an error.
Solution 1: Remove the end tag.
Solution 2: Modify the configuration file to ignore the check.
root directory - eslintrc.js - Rules
add a line: "Vue/no parsing error": [2, {"x-invalid end tag": false}]
Read More:
- When using iView, report: no parsing error parsing error: x-invalid-end-tag solution
- [Solved] Eslint Error: Parsing error: x-invalid-end-tag
- [Solved] Vue Project Error: Arrow function should not return assignment
- Vue Error: component has been registered but not used [Two Methods to Solve]
- [Solved] Errors: 1 http://eslint.org/docs/rules/quotes…elementUI Import Error
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint
- [Solved] Failed to load plugin ‘vue‘ declared in ‘.eslintrc.js‘: createRequire is not a function
- [Solved] Syntax Error: Error: No ESLint configuration found & TypeError: eslint.CLIEngine is not a constructor
- Vscode save Vue format eslint check error [How to Solve]
- [Solved] Vue Error: error: ‘to‘ is defined but never used (no-unused-vars)
- [Solved] error Component name “xxx“ should always be multi-word vue/multi-word-comp
- [Solved] ✖ 2 problem (1 error, 0 warnings) 2 error and 0 warnings potentially fixable with the`–fix`
- [Solved] Vue Less error: Webpack project report expected indentation of 0 spaces but found 2
- [Solved] ESLint: Parsing error: Unexpected token(prettier/prettier)
- [Solved] Vue 3 Script Setup ESLint Error: ‘defineProps‘ is not defined
- [Solved] component import error is declared in the statement of components
- [Solved] VUE D:\project\vueProject\vue-02\src\components\hello.vue 5:5 error Parsing error: x-invalid-end-tag
- [Solved] error: Unexpected console statement (no-console)
- [Solved] Failed to load config “react-app“ to extend from.
- [Solved] VS Code Error: Vetur can‘t find ‘tsconfig.json‘ or ‘jsconfig.json‘