mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 22:46:06 +02:00
apply no-nested-ternary
This commit is contained in:
@@ -47,7 +47,6 @@ module.exports = {
|
|||||||
'no-empty': ['error', { 'allowEmptyCatch': true }],
|
'no-empty': ['error', { 'allowEmptyCatch': true }],
|
||||||
'no-magic-numbers': 0,
|
'no-magic-numbers': 0,
|
||||||
'no-mixed-operators': 0,
|
'no-mixed-operators': 0,
|
||||||
'no-nested-ternary': 0,
|
|
||||||
'no-plusplus': 0,
|
'no-plusplus': 0,
|
||||||
'no-tabs': 0,
|
'no-tabs': 0,
|
||||||
'no-ternary': 0,
|
'no-ternary': 0,
|
||||||
|
|||||||
@@ -442,6 +442,7 @@ if (window.CefSharp) {
|
|||||||
}
|
}
|
||||||
if (args.json.length &&
|
if (args.json.length &&
|
||||||
(options.param.offset += args.json.length,
|
(options.param.offset += args.json.length,
|
||||||
|
// eslint-disable-next-line no-nested-ternary
|
||||||
options.N > 0
|
options.N > 0
|
||||||
? options.N > options.param.offset
|
? options.N > options.param.offset
|
||||||
: options.N < 0
|
: options.N < 0
|
||||||
|
|||||||
Reference in New Issue
Block a user