forked from MetaMask/metamask-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.depcheckrc.yml
72 lines (68 loc) · 2 KB
/
.depcheckrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# things that *are* used, that depcheck is wrong about
ignores:
#
# webapp deps
#
- '@lavamoat/snow'
- '@lavamoat/allow-scripts'
- '@babel/runtime'
- '@fortawesome/fontawesome-free'
- 'punycode'
#
# dev deps
#
# all @types/* packages are imported implicitly by TypeScript
- '@types/*'
# safety fallback for npm lifecycle scripts, not used normally
- '@lavamoat/preinstall-always-fail'
# used in testing + ci
- '@metamask/auto-changelog' # invoked as `auto-changelog`
- '@metamask/forwarder'
- '@metamask/phishing-warning' # statically hosted as part of some e2e tests
- '@metamask/test-dapp'
- '@metamask/design-tokens' # Only imported in index.css
- '@tsconfig/node20' # required dynamically by TS, used in tsconfig.json
- '@sentry/cli' # invoked as `sentry-cli`
- 'chromedriver'
- 'depcheck' # ooo meta
- 'ganache-cli'
- 'geckodriver'
- 'jest'
- 'lavamoat-viz'
- 'mocha-junit-reporter'
- 'prettier-plugin-sort-json' # automatically imported by prettier
- 'source-map-explorer'
- 'playwright'
- 'wait-on'
- 'tsx' # used in .devcontainer
- 'prettier-eslint' # used by the Prettier ESLint VSCode extension
# storybook
- '@storybook/cli'
- '@storybook/core'
- '@storybook/addon-designs'
- '@storybook/addon-essentials'
- '@storybook/addon-a11y'
- '@storybook/addon-mdx-gfm'
- '@storybook/builder-webpack5'
- '@storybook/manager-webpack5'
- '@storybook/react-webpack5'
- 'storybook-dark-mode'
- '@whitespace/storybook-addon-html'
- 'react-syntax-highlighter'
- 'style-loader'
- 'css-loader'
- 'sass-loader'
- 'resolve-url-loader'
# jest environments
- 'jest-environment-jsdom'
# babel
- '@babel/plugin-transform-logical-assignment-operators'
# trezor
- 'ts-mixer'
# files depcheck should not parse
ignorePatterns:
# seems to incorrectly parse scss @include pragmas?
- '**/*.scss'
# self-contained bundle used for testing
- '**/send-eth-with-private-key-test/web3js.js'
- '**/send-eth-with-private-key-test/ethereumjs-tx.js'