mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
eslint: camelcase rule do not check properties, because it could be database field name
This commit is contained in:
parent
682e4d45e2
commit
564bc96735
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ module.exports = {
|
|||
requireConfigFile: false,
|
||||
},
|
||||
rules: {
|
||||
"camelcase": "warn",
|
||||
"camelcase": ["warn", {
|
||||
"properties": "never"
|
||||
}],
|
||||
// override/add rules settings here, such as:
|
||||
// 'vue/no-unused-vars': 'error'
|
||||
"no-unused-vars": "warn",
|
||||
|
|
Loading…
Reference in a new issue