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] ✖ 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
- VUE Error: Mixed spaces and tabs [How to Solve]
- [Solved] Error: #error More than 1 blank line not allowed no-multiple-empty-lines
- [Solved] Vue Project startup error: no eslint configuration found
- [Solved] Failed to load config “react-app“ to extend from.
- How to Solve VUE Error: Mixed spaces and tabs
- [Solved] error Component name “xxx“ should always be multi-word vue/multi-word-comp
- [Solved] Vue Error: Parsing error: No Babel config file detected for /Users/Usename/xxx…
- Vue Error: component has been registered but not used [Two Methods to Solve]
- [Solved] ESLint error: Newline required at end of file but not found (eol-last)
- [Solved] Failed to load plugin ‘vue‘ declared in ‘.eslintrc.js‘: createRequire is not a function
- [Solved] Vue 3 Script Setup ESLint Error: ‘defineProps‘ is not defined
- [Solved] Vue Error: error: ‘to‘ is defined but never used (no-unused-vars)
- [Solved] Syntax Error: Error: No ESLint configuration found & TypeError: eslint.CLIEngine is not a constructor
- [Solved] Vue eslint Error: Component name “*****“ should always be multi-word
- [Solved] Vue Project Error: Arrow function should not return assignment
- [Solved] Vue Error: TypeError: Cannot read property ‘end‘ of undefined
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint