diff --git a/html/.eslintrc.js b/html/.eslintrc.js index 1484fd35..c205f3c3 100644 --- a/html/.eslintrc.js +++ b/html/.eslintrc.js @@ -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, diff --git a/html/app.js b/html/app.js index ac2df9ae..c22ec712 100644 --- a/html/app.js +++ b/html/app.js @@ -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