yunohost-admin/app/.eslintrc.js

27 lines
559 B
JavaScript
Raw Normal View History

module.exports = {
root: true,
env: {
es2021: true,
2024-02-24 18:25:12 +01:00
node: true,
},
extends: [
2024-07-11 15:14:08 +02:00
'plugin:vue/vue3-recommended',
'eslint:recommended',
2024-05-17 16:39:50 +02:00
'@vue/eslint-config-typescript',
2024-02-24 17:54:16 +01:00
'plugin:prettier/recommended',
],
rules: {
2024-07-11 15:14:08 +02:00
'vue/no-v-html': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': [
'warn',
{
varsIgnorePattern: '^_',
argsIgnorePattern: '^_',
destructuredArrayIgnorePattern: '^_',
},
],
'no-console': ['error', { allow: ['warn', 'error'] }],
2024-02-24 17:54:16 +01:00
},
}