爆红提醒:ESLint: Parsing error: Unexpected token. Did you mean `{‘>‘}` or `>;`?
module.exports = {
// 其他配置...
"parserOptions": {
// 允许使用较新的 ECMAScript 特性
"ecmaVersion": 2022,
// 或者:
"ecmaFeatures": {
"jsx": false // 关闭JSX语法支持
}
},
};