Add a rule to the rules of .eslintrc.js
rules: {
"no-use-before-define": 'off',
"@typescript-eslint/no-use-before-define": ["error"]
}
Similar Posts:
- [Solved] Vue3+ts+eslint Error: warning Unexpected any. Specify a different type, warning Delete `·` , Missing return type on function, Require statement not part of import statement
- [Solved] ESLint Error: Line 10 exceeds the maximum line length of 100
- Error-Do not use “//@ts-ignore“ because it alters compilation errors [How to Solve]
- Expected indentation of 8 spaces but found [How to Solve]
- [Solved] Vue3.X version error: Parsing error: Parsing error: Unexpected token
- Error reporting of console.log in eslint
- Windows / Android / IOS / Linux platform h265 streaming media player easyplayer.js deployment error
- How to Solve Eslint syntax error in Vue project
- [Solved] Vue Esline Error: Parsing error: Unexpected token import
- How to Solve Vue3 ts setup getCurrentInstance Error