mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
[web] Enforce more linting rules
This commit is contained in:
parent
e89d625f15
commit
bd9c844284
@ -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']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user