yunohost-admin/app/.eslintrc.js
2023-03-24 21:38:33 +01:00

40 lines
821 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',
{ varsIgnorePattern: '^_', destructuredArrayIgnorePattern: '^_' }
],
quotes: 'warn',
'no-multiple-empty-lines': [
'error',
{
max: 2,
},
],
},
}