mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
37 lines
734 B
JavaScript
37 lines
734 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
},
|
|
extends: [
|
|
'plugin:vue/strongly-recommended',
|
|
'eslint:recommended',
|
|
'standard',
|
|
],
|
|
parserOptions: {
|
|
parser: '@babel/eslint-parser',
|
|
},
|
|
rules: {
|
|
'vue/max-attributes-per-line': [
|
|
'error',
|
|
{
|
|
singleline: 3,
|
|
multiline: 3,
|
|
},
|
|
],
|
|
'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',
|
|
'no-unused-vars': 'warn',
|
|
quotes: 'warn',
|
|
'no-multiple-empty-lines': [
|
|
'error',
|
|
{
|
|
max: 2,
|
|
},
|
|
],
|
|
},
|
|
}
|