bcgov/vue3-scaffold

View on GitHub
frontend/volar.config.js

Summary

Maintainability
A
0 mins
Test Coverage
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
},
})),
],
};