frontend/volar.config.js
Require statement not part of import statement.const baseConfig = require('./.eslintrc.js'); module.exports = { plugins: [Require statement not part of import statement. require('volar-service-eslint').default(program => ({ ...baseConfig, ignorePatterns: ['**/*.vue.*'], // ignore virtual files: *.vue.ts, *.vue.html, *.vue.css parserOptions: { ...baseConfig.parserOptions, programs: [program], // replace eslint typescript program }, })), ],};