From e17f4f2e04d51552f2a6313615c4b928a40fc7b8 Mon Sep 17 00:00:00 2001 From: Max Holman Date: Wed, 11 Jan 2023 20:48:44 +0800 Subject: [PATCH] chore: allow dev deps in css.ts files --- .eslintrc.cjs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index d83c261..26d263a 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -30,5 +30,14 @@ module.exports = { ], }, }, + { + files: ['src/pages/**/*.tsx?', 'lib/**/*.css.ts'], + rules: { + 'import/no-extraneous-dependencies': [ + 'error', + { devDependencies: false }, + ], + }, + }, ], };