Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #1242
All in all,
depcheck
did a good job π β I did go over all the deps myself just in case it missed one (it didn't). Do please double check thoroughly.Unused dependencies
dustjs-helpers
: used but imported withrequire
; kept π’dustjs-linkedin
: used but imported withrequire
; kept π’everpolate
: unused; removed ποΈhistory
: unused; removed ποΈjsmpeg
: used viaui/src/components/SampleView/jsmpeg.min.js
, not via NPM package, which is obsolete compared tojsmpeg.min.js
; removed ποΈliform-react
: unused; removed ποΈplotly.js
: peer of react-plotly.js; unused; removed ποΈpopper.js
: unused; removed ποΈreact-clipboard.js
: unused; removed ποΈreact-plotly.js
: unused; removed ποΈreact-router
: peer of react-router-dom; used; kept π’react-sticky
: unused; removed ποΈshortid
: unused; removed ποΈunderscore
: unused; removed ποΈws
: unused; removed ποΈUnused devDependencies
@testing-library/react
: unused but should be π ; kept for now π’@testing-library/user-event
: unused but should be π ; kept for now π’babel-preset-react-app
: direct dep ofcreate-react-app
; no need to install ourselves; removed ποΈconcurrently
: unused; removed ποΈless
: only one.less
fileui/src/components/PeriodicTable/style.less
with only a few mixins for CSS browser prefixing; styles should be written in pure CSS; browser prefixing is done automatically byautoprefixer
based onbrowserslists
config; removed ποΈless-watch-compiler
: removed ποΈsass
: no SASS/SCSS files found; removed ποΈwait-on
: used in CI to wait for server to start before testing with Cypress; kept π’webpack
: dependency ofwebpack-dev-server
; safer to keep in case specified version range matters π’webpack-dev-server
: dependency ofreact-scripts
; safer to keep in case specified version range matters π’Missing dependencies
All of these are direct dependencies of
eslint-config-galex
, so no need to install them. π’