Error:
20:1 error Expected indentation of 2 spaces but found 4 indent 21:1 error Expected indent
Solution:
Open the file eslintrc.js, enter the following code to solve this error
'no-multiple-empty-lines': 0
Read More:
- Vue Project Error: Expected indentation of 2 spaces but found 4,Newline required at end of file but not found
- [Solved] Vue Less error: Webpack project report expected indentation of 0 spaces but found 2
- [Solved] VUE eslint Error: Expected linebreaks to be ‘LF‘ but found ‘CRLF
- [Solved] Vite Error: Failed to load module script: Expected a JavaScript module script but the server…
- VUE Error: Mixed spaces and tabs [How to Solve]
- Node rsa Library Error [InvalidAsn1Error]: Expected 0x2: got 0x30
- [Solved] Invalid prop: type check failed for prop “modelValue“. Expected Number…
- [Vue warn]: Invalid prop: type check failed for prop “index“. Expected String, got Undefined
- [Solved] ESLint error: Newline required at end of file but not found (eol-last)
- How to Solve VUE Error: Mixed spaces and tabs
- [Solved] Invalid prop: type check failed for prop “index“. Expected String, got Undefined
- Newline required at end of file but not found eol-last [How to Solve]
- Vue Error: component has been registered but not used [Two Methods to Solve]
- [Solved] Vue Error: error: ‘to‘ is defined but never used (no-unused-vars)
- [Solved] Vue Project startup error: no eslint configuration found
- xxx is assigned a value but never used [How to Solve]
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint
- Error: Computed property “menuList” was assigned to but it has no setter.
- [Solved] error ‘test‘ is assigned a value but never used no-unused-vars
- [Solved] Vue Error: error ‘xxx‘ is defined but never used no-unused-vars