From 5e83e14637e58eb195b4caef2082c649edabd890 Mon Sep 17 00:00:00 2001 From: Tom French Date: Sun, 15 May 2022 17:57:20 +0100 Subject: [PATCH] style: silence error for old-style require statements This will be removed once we migrate to typescript --- .eslintrc.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index e5b04e4..37c0a85 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -7,5 +7,8 @@ module.exports = { }, parser: '@typescript-eslint/parser', plugins: ['@typescript-eslint', 'prettier'], - extends: ['eslint:recommended', "plugin:@typescript-eslint/recommended"] + extends: ['eslint:recommended', "plugin:@typescript-eslint/recommended"], + rules: { + "@typescript-eslint/no-var-requires": "off" + } };