eslintrc: allow shirt-circuit and ternary expressions

This commit is contained in:
tophf 2017-12-15 09:37:46 +03:00
parent 748b9afdb4
commit 2c47407afb

View File

@ -219,7 +219,7 @@ rules:
no-unreachable: [2] no-unreachable: [2]
no-unsafe-finally: [2] no-unsafe-finally: [2]
no-unsafe-negation: [2] no-unsafe-negation: [2]
no-unused-expressions: [1] no-unused-expressions: [1, {allowShortCircuit: true, allowTernary: true}]
no-unused-labels: [0] no-unused-labels: [0]
no-unused-vars: [1, {args: after-used, vars: local, argsIgnorePattern: ^_}] no-unused-vars: [1, {args: after-used, vars: local, argsIgnorePattern: ^_}]
no-use-before-define: [2, nofunc] no-use-before-define: [2, nofunc]