frp/web/frpc/.eslintrc.cjs

31 lines
591 B
JavaScript
Raw Normal View History

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