2019-01-26 19:15:31 -05:00
|
|
|
{
|
2019-01-27 16:25:30 -05:00
|
|
|
"rules": {
|
2019-01-27 23:52:24 -05:00
|
|
|
"camelcase": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"properties": "never",
|
|
|
|
"allow": ["^vfunc_", "^on_"]
|
|
|
|
}
|
|
|
|
],
|
2019-02-12 05:07:55 -05:00
|
|
|
"consistent-return": "error",
|
2019-01-27 19:40:51 -05:00
|
|
|
"key-spacing": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"mode": "minimum",
|
|
|
|
"beforeColon": false,
|
|
|
|
"afterColon": true
|
|
|
|
}
|
|
|
|
],
|
2019-01-27 19:37:12 -05:00
|
|
|
"no-unused-vars": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"argsIgnorePattern": "^_",
|
|
|
|
"varsIgnorePattern": "_$"
|
|
|
|
}
|
|
|
|
],
|
2019-01-27 16:25:30 -05:00
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"always"
|
2019-01-27 19:39:54 -05:00
|
|
|
],
|
|
|
|
"prefer-arrow-callback": "error"
|
2019-01-27 16:25:30 -05:00
|
|
|
},
|
|
|
|
|
2019-01-26 19:15:31 -05:00
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": "js/**",
|
|
|
|
"excludedFiles": ["js/extensionPrefs/*", "js/portalHelper/*"],
|
|
|
|
"globals": {
|
|
|
|
"global": false,
|
|
|
|
"_": false,
|
|
|
|
"C_": false,
|
|
|
|
"N_": false,
|
|
|
|
"ngettext": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|