From ba9955d43fbd55996d8f918e82ad016b45e7f411 Mon Sep 17 00:00:00 2001 From: Adam DeHaven Date: Wed, 5 Jun 2024 21:47:59 -0400 Subject: [PATCH] fix: allow require in js --- configs/index.mjs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configs/index.mjs b/configs/index.mjs index de61a1c..299befc 100644 --- a/configs/index.mjs +++ b/configs/index.mjs @@ -134,4 +134,12 @@ export default [ ], }, }, + { + files: [ + '**/*.{js,cjs,jsx}', + ], + rules: { + '@typescript-eslint/no-var-requires': 'off', + }, + }, ]