diff --git a/backend/.eslintrc.js b/backend/.eslintrc.js index a17a335c3..096e4d60a 100644 --- a/backend/.eslintrc.js +++ b/backend/.eslintrc.js @@ -26,10 +26,12 @@ module.exports = { 'plugin:@typescript-eslint/recommended-requiring-type-checking', 'plugin:type-graphql/recommended', ], - // allow explicitly defined dangling promises rules: { + // allow explicitly defined dangling promises '@typescript-eslint/no-floating-promises': ['error', { ignoreVoid: true }], 'no-void': ['error', { allowAsStatement: true }], + // ignore prefer-regexp-exec rule to allow string.match(regex) + '@typescript-eslint/prefer-regexp-exec': 'off', }, parserOptions: { tsconfigRootDir: __dirname,