mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
21 lines
491 B
JavaScript
21 lines
491 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
},
|
|
extends: [
|
|
'@vue/typescript/recommended',
|
|
'plugin:vue/vue3-essential',
|
|
'prettier',
|
|
'@vue/eslint-config-typescript'
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: 'latest',
|
|
},
|
|
rules: {
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
"vue/component-name-in-template-casing": ["error", "PascalCase"],
|
|
},
|
|
};
|