refactor: ♻️ "error" => 2

This commit is contained in:
bubkoo
2021-06-10 17:43:42 +08:00
parent af187b29c1
commit 8f4f88aa11

View File

@ -68,7 +68,7 @@ module.exports = {
'no-return-assign': [2, 'except-parens'],
'no-param-reassign': [2, { props: false }],
'no-cond-assign': [2, 'except-parens'],
'no-console': ['error', { allow: ['warn', 'error'] }],
'no-console': [2, { allow: ['warn', 'error'] }],
'@typescript-eslint/no-unused-expressions': [
2,
{ allowShortCircuit: true, allowTernary: true },