Skip to content

Commit 82063d0

Browse files
RickDTRick Terrill
and
Rick Terrill
authored
Push Lint deps up in monorepo (#21)
* move eslint deps up to top of monorepo * run lint at top level via recursive flag --------- Co-authored-by: Rick Terrill <[email protected]>
1 parent 35ccf5e commit 82063d0

File tree

4 files changed

+29
-119
lines changed

4 files changed

+29
-119
lines changed

package.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "ParallelMarkets.com JavaScript SDK loading utility",
66
"scripts": {
77
"build": "pnpm --filter '@parallelmarkets/*' build",
8-
"lint": "eslint examples/*/src packages/*/src && prettier -l packages/*/src examples/*/src",
8+
"lint": "pnpm -r lint",
99
"test": "jest"
1010
},
1111
"keywords": [
@@ -17,6 +17,11 @@
1717
"devDependencies": {
1818
"globals": "^15.0.0",
1919
"jest": "^29.7.0",
20-
"rollup": "^4.16.2"
20+
"rollup": "^4.16.2",
21+
"eslint": "^9.1.0",
22+
"eslint-plugin-import": "^2.29.1",
23+
"eslint-plugin-n": "^17.2.1",
24+
"eslint-plugin-promise": "^6.1.1",
25+
"eslint-config-prettier": "^9.1.0"
2126
}
2227
}

packages/react/package.json

-4
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@
5858
"@types/react": "^18.2.79",
5959
"babel-jest": "^29.7.0",
6060
"babel-preset-react-app": "^10.0.1",
61-
"eslint": "^9.1.0",
62-
"eslint-plugin-import": "^2.29.1",
63-
"eslint-plugin-n": "^17.2.1",
64-
"eslint-plugin-promise": "^6.1.1",
6561
"eslint-plugin-react": "^7.34.0",
6662
"eslint-plugin-react-hooks": "^4.6.0",
6763
"globals": "^15.0.0",

packages/vanilla/package.json

-6
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,6 @@
5252
"@rollup/plugin-typescript": "^11.1.6",
5353
"@types/jest": "^29.5.12",
5454
"@types/node": "^20.12.7",
55-
"eslint": "^9.1.0",
56-
"eslint-config-prettier": "^9.1.0",
57-
"eslint-plugin-import": "^2.29.1",
58-
"eslint-plugin-n": "^17.2.1",
59-
"eslint-plugin-prettier": "^5.1.3",
60-
"eslint-plugin-promise": "^6.1.1",
6155
"globals": "^15.0.0",
6256
"jest": "^29.7.0",
6357
"jest-environment-jsdom": "^29.7.0",

pnpm-lock.yaml

+22-107
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)