2023-03-24 20:50:05 +01:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
2023-04-03 18:22:38 +02:00
|
|
|
node: true
|
2023-03-24 20:50:05 +01:00
|
|
|
},
|
|
|
|
extends: [
|
|
|
|
'plugin:vue/strongly-recommended',
|
|
|
|
'eslint:recommended',
|
2023-04-03 18:22:38 +02:00
|
|
|
'standard'
|
2023-03-24 20:50:05 +01:00
|
|
|
],
|
|
|
|
rules: {
|
|
|
|
'vue/max-attributes-per-line': [
|
|
|
|
'error',
|
|
|
|
{
|
|
|
|
singleline: 3,
|
2023-04-03 18:22:38 +02:00
|
|
|
multiline: 3
|
|
|
|
}
|
2023-03-24 20:50:05 +01:00
|
|
|
],
|
2023-03-24 21:19:17 +01:00
|
|
|
'vue/multi-word-component-names': 'off', // FIXME this should be adressed at some point
|
2023-03-24 20:50:05 +01:00
|
|
|
'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: '^_' }
|
|
|
|
],
|
2023-03-24 20:50:05 +01:00
|
|
|
quotes: 'warn',
|
|
|
|
'no-multiple-empty-lines': [
|
|
|
|
'error',
|
|
|
|
{
|
2023-04-03 18:22:38 +02:00
|
|
|
max: 2
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-03-24 20:50:05 +01:00
|
|
|
}
|