Skip to content

Commit 09f3a4a

Browse files
chore: added pnpm-deduplicate linting (#74)
1 parent cd43b8b commit 09f3a4a

File tree

3 files changed

+549
-0
lines changed

3 files changed

+549
-0
lines changed

.github/workflows/packages.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Lint Packages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
package:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: ./.github/actions/prepare
15+
- run: pnpm lint:packages

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"markdownlint-cli": "^0.32.2",
2323
"npm-package-json-lint": "^6.3.0",
2424
"npm-package-json-lint-config-default": "^5.0.0",
25+
"pnpm-deduplicate": "^0.4.0",
2526
"prettier": "^2.7.1",
2627
"semantic-release": "^19.0.5",
2728
"ts-prune": "^0.10.3",
@@ -45,6 +46,7 @@
4546
"lint": "npx eslint . --max-warnings 0 --report-unused-disable-directives",
4647
"lint:md": "npx markdownlint \"**/*.md\" \".github/**/*.md\"",
4748
"lint:package": "npmPkgJsonLint .",
49+
"lint:packages": "pnpm-deduplicate --list",
4850
"lint:prune": "ts-prune",
4951
"lint:spelling": "cspell \"**\" \".github/**/*\"",
5052
"prepare": "husky install",

0 commit comments

Comments
 (0)