apply no-nested-ternary

This commit is contained in:
pypy
2020-01-11 20:22:39 +09:00
parent b225e596d0
commit 15eb9a45ac
2 changed files with 1 additions and 1 deletions

View File

@@ -47,7 +47,6 @@ module.exports = {
'no-empty': ['error', { 'allowEmptyCatch': true }],
'no-magic-numbers': 0,
'no-mixed-operators': 0,
'no-nested-ternary': 0,
'no-plusplus': 0,
'no-tabs': 0,
'no-ternary': 0,

View File

@@ -442,6 +442,7 @@ if (window.CefSharp) {
}
if (args.json.length &&
(options.param.offset += args.json.length,
// eslint-disable-next-line no-nested-ternary
options.N > 0
? options.N > options.param.offset
: options.N < 0