forked from opentiny/tiny-vue
15 lines
437 B
JavaScript
15 lines
437 B
JavaScript
const baseConfig = require('./.eslintrc.js') // load your project eslint config
|
|
|
|
module.exports = {
|
|
plugins: [
|
|
require('@volar-plugins/eslint').default((program) => ({
|
|
...baseConfig,
|
|
ignorePatterns: ['**/*.vue.*'], // ignore virtual files: *.vue.ts, *.vue.html, *.vue.css
|
|
parserOptions: {
|
|
...baseConfig.parserOptions,
|
|
programs: [program] // replace eslint typescript program
|
|
}
|
|
}))
|
|
]
|
|
}
|