mirror of
https://gitee.com/dromara/go-view.git
synced 2025-10-15 15:02:10 +08:00
30 lines
607 B
JavaScript
30 lines
607 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: 'vue-eslint-parser',
|
|
globals: {
|
|
postMessage: true
|
|
},
|
|
parserOptions: {
|
|
parser: '@typescript-eslint/parser',
|
|
sourceType: 'module',
|
|
ecmaFeatures: {
|
|
jsx: true,
|
|
tsx: true,
|
|
},
|
|
},
|
|
env: {
|
|
'vue/setup-compiler-macros': true,
|
|
node: true,
|
|
},
|
|
extends: [
|
|
"plugin:vue/vue3-essential",
|
|
"eslint:recommended",
|
|
"./.eslintrc-auto-import.json"
|
|
],
|
|
rules: {
|
|
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
|
|
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
|
|
},
|
|
};
|
|
|