[web] Enforce more linting rules

This commit is contained in:
Alain Nussbaumer 2024-02-28 15:53:58 +01:00
parent e89d625f15
commit bd9c844284

View File

@ -4,11 +4,8 @@ module.exports = {
}, },
extends: ['eslint:recommended', 'plugin:vue/vue3-recommended', 'prettier'], extends: ['eslint:recommended', 'plugin:vue/vue3-recommended', 'prettier'],
rules: { rules: {
// override/add rules settings here, such as: // Override/add rules settings here, such as:
// 'vue/no-unused-vars': 'error'
'no-unused-vars': ['error', { args: 'none' }], 'no-unused-vars': ['error', { args: 'none' }],
'vue/require-prop-types': 'off',
'vue/require-default-prop': 'off',
'vue/prop-name-casing': ['warn', 'snake_case'] 'vue/prop-name-casing': ['warn', 'snake_case']
} }
} }