File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # depcheck — https://github.com/depcheck/depcheck
2+ #
3+ # Ignore-only setup: depcheck's webpack special does not scan webpack.dev.js / loaders.js naming,
4+ # and there is no Stylelint special for .stylelintrc. Listed packages are used via Webpack,
5+ # Stylelint config, or SCSS paths—not plain JS imports.
6+
7+ ignores:
8+ - "@wordpress/stylelint-config"
9+ - stylelint-config-recess-order
10+ - stylelint-scss
11+ - postcss-scss
12+ - css-loader
13+ - cssnano
14+ - esbuild-loader
15+ - imagemin
16+ - imagemin-gifsicle
17+ - imagemin-jpegtran
18+ - imagemin-optipng
19+ - imagemin-svgo
20+ - postcss
21+ - postcss-import
22+ - postcss-loader
23+ - postcss-preset-env
24+ - postcss-pxtorem
25+ - postcss-sort-media-queries
26+ - sass-loader
27+ - svgo
28+ - svgo-loader
29+ - webpack-cli
Original file line number Diff line number Diff line change 1212 "lint:css" : " node_modules/.bin/stylelint \" src/scss/**/*.scss\" " ,
1313 "lint:js" : " node_modules/.bin/eslint \" src/js/**/*.js\" " ,
1414 "lint" : " node_modules/.bin/concurrently \" npx yarn lint:css\" \" npx yarn lint:js\" " ,
15- "bundle-report" : " yarn build && yarn webpack-bundle-analyzer dist/stats.json"
15+ "bundle-report" : " yarn build && yarn webpack-bundle-analyzer dist/stats.json" ,
16+ "depcheck" : " npx depcheck"
1617 },
1718 "license" : " GPL-2.0" ,
1819 "dependencies" : {
You can’t perform that action at this time.
0 commit comments