Skip to content

Commit d9c7250

Browse files
committed
Make tsdx linting work by a bunch of hacks
1 parent 6177131 commit d9c7250

File tree

2 files changed

+991
-832
lines changed

2 files changed

+991
-832
lines changed

package.json

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,23 +58,53 @@
5858
}
5959
],
6060
"dependencies": {
61-
"css-mediaquery": "^0.1.2"
61+
"css-mediaquery": "^0.1.2",
62+
"eslint": "^7.22.0",
63+
"eslint-config-prettier": "^7",
64+
"eslint-config-react-app": "^6.0.0",
65+
"eslint-plugin-flowtype": "^5.4.0",
66+
"eslint-plugin-import": "^2.22.1",
67+
"eslint-plugin-jsx-a11y": "^6.4.1",
68+
"eslint-plugin-prettier": "^3.3.1",
69+
"eslint-plugin-react": "^7.22.0",
70+
"eslint-plugin-react-hooks": "^4.2.0"
6271
},
6372
"devDependencies": {
6473
"@size-limit/preset-small-lib": "^4.10.1",
74+
"@testing-library/dom": "^7.30.0",
6575
"@testing-library/jest-dom": "^5.11.9",
6676
"@testing-library/react": "^11.2.5",
6777
"@testing-library/user-event": "^13.0.2",
6878
"@types/css-mediaquery": "^0.1.0",
6979
"@types/react": "^17.0.3",
7080
"@types/react-dom": "^17.0.2",
7181
"@types/testing-library__jest-dom": "^5.9.5",
72-
"husky": "^5.1.3",
82+
"@typescript-eslint/eslint-plugin": "^4.18.0",
83+
"@typescript-eslint/parser": "^4.18.0",
84+
"husky": "4.2.3",
85+
"jest": "^26.6.3",
7386
"react": "^17.0.1",
7487
"react-dom": "^17.0.1",
7588
"size-limit": "^4.10.1",
89+
"ts-jest": "^26.5.4",
7690
"tsdx": "^0.14.1",
7791
"tslib": "^2.1.0",
7892
"typescript": "^4.2.3"
93+
},
94+
"resolutions": {
95+
"**/@typescript-eslint/eslint-plugin": "^4.18.0",
96+
"**/@typescript-eslint/parser": "^4.18.0",
97+
"**/jest": "^26.6.3",
98+
"**/ts-jest": "^26.5.4",
99+
"**/typescript": "^4.2.3",
100+
"**/eslint": "^7.22.0",
101+
"**/eslint-config-prettier": "^7",
102+
"**/eslint-config-react-app": "^6.0.0",
103+
"**/eslint-plugin-flowtype": "^5.4.0",
104+
"**/eslint-plugin-import": "^2.22.1",
105+
"**/eslint-plugin-jsx-a11y": "^6.4.1",
106+
"**/eslint-plugin-prettier": "^3.3.1",
107+
"**/eslint-plugin-react": "^7.22.0",
108+
"**/eslint-plugin-react-hooks": "^4.2.0"
79109
}
80110
}

0 commit comments

Comments
 (0)