mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-30 18:24:03 +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,
|
requireConfigFile: false,
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
"camelcase": "warn",
|
"camelcase": ["warn", {
|
||||||
|
"properties": "never"
|
||||||
|
}],
|
||||||
// override/add rules settings here, such as:
|
// override/add rules settings here, such as:
|
||||||
// 'vue/no-unused-vars': 'error'
|
// 'vue/no-unused-vars': 'error'
|
||||||
"no-unused-vars": "warn",
|
"no-unused-vars": "warn",
|
||||||
|
|
Loading…
Reference in a new issue