diff --git a/.eslintrc.js b/.eslintrc.js index 8691ba340..0409200de 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -81,6 +81,8 @@ module.exports = { 'quotes': 'off', 'semi': ['error', 'always'], 'space-before-function-paren': ['error', { anonymous: 'never', named: 'never', asyncArrow: 'always' }], + 'space-infix-ops': 'off', // successor('@typescript-eslint/space-infix-ops') + 'space-unary-ops': 'error', 'space-in-parens': 'error', 'spaced-comment': ['error', 'always', { exceptions: ['/', '*', '-', '* '], // for ASCII art :) @@ -129,6 +131,7 @@ module.exports = { '@typescript-eslint/no-redeclare': 'error', '@typescript-eslint/no-unused-vars': ['error', { ignoreRestSiblings: true }], '@typescript-eslint/no-use-before-define': 'error', + '@typescript-eslint/space-infix-ops': 'error', '@typescript-eslint/quotes': ['error', 'single', { avoidEscape: true }], 'simple-import-sort/imports': 'error',