1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 03:12:42 +02:00
metamask-extension/.depcheckrc.yml
Mark Stacey 24c3175ec7 Fix CI validation errors
Two CI validation errors have been fixed:
* A duplcate entry has been removed from the lockfile
* `@metamask/phishing-warning` has been added to the depcheck config,
so that it knows that dependency is being used (in e2e tests)
2022-05-16 16:01:07 -02:30

53 lines
1.4 KiB
YAML

# things that *are* used, that depcheck is wrong about
ignores:
#
# webapp deps
#
- '@babel/runtime'
- '@fortawesome/fontawesome-free'
- 'punycode'
#
# dev deps
#
# 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/node14' # required dynamically by TS, used in tsconfig.json
- '@sentry/cli' # invoked as `sentry-cli`
- 'chromedriver'
- 'depcheck' # ooo meta
- 'ganache-cli'
- 'geckodriver'
- 'jest'
- 'lavamoat-viz'
- 'prettier-plugin-sort-json' # automatically imported by prettier
- 'source-map-explorer'
# development tool
- 'yarn-deduplicate'
- 'improved-yarn-audit'
# storybook
- '@storybook/core'
- '@storybook/addon-essentials'
- '@storybook/addon-a11y'
- 'storybook-dark-mode'
- 'style-loader'
- 'css-loader'
- 'sass-loader'
- 'resolve-url-loader'
# 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'