2019-01-27 00:15:31 +00:00
|
|
|
{
|
2019-01-27 21:25:30 +00:00
|
|
|
"rules": {
|
2019-01-28 04:52:24 +00:00
|
|
|
"camelcase": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"properties": "never",
|
|
|
|
"allow": ["^vfunc_", "^on_"]
|
|
|
|
}
|
|
|
|
],
|
2019-02-12 10:07:55 +00:00
|
|
|
"consistent-return": "error",
|
2019-01-28 00:40:51 +00:00
|
|
|
"key-spacing": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"mode": "minimum",
|
|
|
|
"beforeColon": false,
|
|
|
|
"afterColon": true
|
|
|
|
}
|
|
|
|
],
|
2019-01-27 21:25:30 +00:00
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"always"
|
2019-01-28 00:39:54 +00:00
|
|
|
],
|
|
|
|
"prefer-arrow-callback": "error"
|
2019-01-27 21:25:30 +00:00
|
|
|
},
|
|
|
|
|
2019-01-27 00:15:31 +00:00
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": "js/**",
|
|
|
|
"excludedFiles": ["js/extensionPrefs/*", "js/portalHelper/*"],
|
|
|
|
"globals": {
|
|
|
|
"global": false,
|
|
|
|
"_": false,
|
|
|
|
"C_": false,
|
|
|
|
"N_": false,
|
|
|
|
"ngettext": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|