Skip to content

Commit 6ed3527

Browse files
committed
Silence knip false positives for spec dummy
1 parent bc4159c commit 6ed3527

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

knip.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,14 @@ const config: KnipConfig = {
142142
'@rescript/react',
143143
// The Babel plugin fails to detect it
144144
'babel-plugin-transform-react-remove-prop-types',
145+
// Runtime helpers injected by our Babel config, but not statically analyzable
146+
'@babel/runtime',
145147
// This one is weird. It's long-deprecated and shouldn't be necessary.
146148
// Probably need to update the Webpack config.
147149
'node-libs-browser',
148150
// The below dependencies are not detected by the Webpack plugin
149151
// due to the config issue.
152+
'mini-css-extract-plugin',
150153
'expose-loader',
151154
'file-loader',
152155
'imports-loader',

0 commit comments

Comments
 (0)