eslint: camelcase rule do not check properties, because it could be database field name

This commit is contained in:
LouisLam 2021-08-25 01:25:57 +08:00
parent 682e4d45e2
commit 564bc96735

View file

@ -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",