yunohost-admin/app/.eslintrc.js

39 lines
771 B
JavaScript
Raw Normal View History

module.exports = {
root: true,
env: {
es2021: true,
2023-04-03 18:22:38 +02:00
node: true
},
extends: [
'plugin:vue/strongly-recommended',
'eslint:recommended',
2023-04-03 18:22:38 +02:00
'standard'
],
rules: {
'vue/max-attributes-per-line': [
'error',
{
singleline: 3,
2023-04-03 18:22:38 +02:00
multiline: 3
}
],
2023-03-24 21:19:17 +01:00
'vue/multi-word-component-names': 'off', // FIXME this should be adressed at some point
'no-console': 'warn',
'template-curly-spacing': 'off',
camelcase: 'warn',
indent: 'off',
'no-irregular-whitespace': 'off',
2023-03-24 21:35:31 +01:00
'no-unused-vars': [
'warn',
{ varsIgnorePattern: '^_', destructuredArrayIgnorePattern: '^_' }
],
quotes: 'warn',
'no-multiple-empty-lines': [
'error',
{
2023-04-03 18:22:38 +02:00
max: 2
}
]
}
}