mirror of
https://github.com/fatedier/frp.git
synced 2024-11-27 20:49:10 +08:00
31 lines
591 B
JavaScript
31 lines
591 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-typescript',
|
|
'@vue/eslint-config-prettier',
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: 'latest',
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/no-unused-vars': [
|
|
'warn',
|
|
{
|
|
argsIgnorePattern: '^_',
|
|
varsIgnorePattern: '^_',
|
|
},
|
|
],
|
|
'vue/multi-word-component-names': [
|
|
'error',
|
|
{
|
|
ignores: ['Overview'],
|
|
},
|
|
],
|
|
},
|
|
}
|