forked from opentiny/tiny-engine
22 lines
496 B
JavaScript
22 lines
496 B
JavaScript
/* eslint-env node */
|
|
require('@rushstack/eslint-patch/modern-module-resolution')
|
|
|
|
module.exports = {
|
|
root: true,
|
|
extends: ['plugin:vue/vue3-essential', 'eslint:recommended', '@vue/eslint-config-prettier'],
|
|
env: {
|
|
'vue/setup-compiler-macros': true,
|
|
browser: true,
|
|
es2015: true,
|
|
node: true
|
|
},
|
|
parserOptions: {
|
|
ecmaVersion: 'latest',
|
|
ecmaFeatures: {
|
|
jsx: true
|
|
}
|
|
},
|
|
// 忽略 expected 中的内容
|
|
ignorePatterns: ['**/**/expected/*', '**/**.ts']
|
|
}
|