frp/web/frpc/.eslintrc.cjs

31 lines
591 B
JavaScript
Raw Normal View History

/* eslint-env node */
2023-02-26 02:54:53 +08:00
require('@rushstack/eslint-patch/modern-module-resolution')
module.exports = {
root: true,
extends: [
2023-02-26 02:54:53 +08:00
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript',
'@vue/eslint-config-prettier',
],
parserOptions: {
2023-02-26 02:54:53 +08:00
ecmaVersion: 'latest',
},
rules: {
2023-02-26 02:54:53 +08:00
'@typescript-eslint/no-unused-vars': [
'warn',
{
2023-02-26 02:54:53 +08:00
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
},
],
2023-02-26 02:54:53 +08:00
'vue/multi-word-component-names': [
'error',
{
2023-02-26 02:54:53 +08:00
ignores: ['Overview'],
},
],
},
2023-02-26 02:54:53 +08:00
}