mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 08:32:17 +00:00
45 lines
988 B
JavaScript
45 lines
988 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
browser: true,
|
|
es2021: true
|
|
},
|
|
extends: [
|
|
'plugin:vue/vue3-strongly-recommended',
|
|
'eslint:recommended',
|
|
'plugin:prettier/recommended'
|
|
],
|
|
parserOptions: {
|
|
sourceType: 'module',
|
|
ecmaVersion: 'latest'
|
|
},
|
|
plugins: ['prettier'],
|
|
rules: {
|
|
'vue/multi-word-component-names': 'off',
|
|
'vue/no-v-html': 'off',
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'prettier/prettier': 'error',
|
|
'vue/attributes-order': [
|
|
'error',
|
|
{
|
|
order: [
|
|
'DEFINITION',
|
|
'LIST_RENDERING',
|
|
'CONDITIONALS',
|
|
'RENDER_MODIFIERS',
|
|
'GLOBAL',
|
|
'UNIQUE',
|
|
'TWO_WAY_BINDING',
|
|
'OTHER_DIRECTIVES',
|
|
'OTHER_ATTR',
|
|
'EVENTS',
|
|
'CONTENT'
|
|
],
|
|
alphabetical: true
|
|
}
|
|
]
|
|
}
|
|
}
|