mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-24 17:23:50 +02:00
disallow prefer-destructuring
This commit is contained in:
@@ -60,6 +60,7 @@ module.exports = {
|
||||
'one-var': 0,
|
||||
'padded-blocks': 0,
|
||||
'prefer-arrow-callback': 0,
|
||||
'prefer-destructuring': 0,
|
||||
'prefer-named-capture-group': 0,
|
||||
'quotes': ['error', 'single', { 'avoidEscape': true }],
|
||||
'quote-props': 0,
|
||||
|
||||
@@ -2508,8 +2508,7 @@ if (window.CefSharp) {
|
||||
}
|
||||
ctx.$isExpired = false;
|
||||
if (ctx.tags) {
|
||||
// destructuring
|
||||
[ctx.$group] = ctx.tags;
|
||||
ctx.$group = ctx.tags[0];
|
||||
}
|
||||
return ctx;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user