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