Skip to content

Commit fe0c97a

Browse files
committed
chore: update all the things
1 parent dcc2e95 commit fe0c97a

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

.eslintrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
"extends": "./node_modules/kcd-scripts/eslint.js",
33
"rules": {
44
"max-lines-per-function": "off",
5-
"testing-library/no-dom-import": "off" // We're not using React Testing Library here. We're wrapping DOM Testing Library directly
5+
"testing-library/prefer-screen-queries": "off",
6+
"testing-library/no-dom-import": "off", // We're not using React Testing Library here. We're wrapping DOM Testing Library directly
7+
"@typescript-eslint/no-explicit-any": "off" // let's do better in the future
68
}
79
}

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@
4040
"author": "Kent C. Dodds <[email protected]> (https://kentcdodds.com)",
4141
"license": "MIT",
4242
"dependencies": {
43-
"@babel/runtime": "^7.11.2",
44-
"@testing-library/dom": "^7.22.2"
43+
"@babel/runtime": "^7.12.5",
44+
"@testing-library/dom": "^7.26.6"
4545
},
4646
"devDependencies": {
47-
"cypress": "^5.0.0",
48-
"dtslint": "^3.6.14",
49-
"kcd-scripts": "^6.2.4",
47+
"cypress": "^5.6.0",
48+
"dtslint": "^4.0.5",
49+
"kcd-scripts": "^7.0.3",
5050
"npm-run-all": "^4.1.5",
51-
"typescript": "^4.0.2"
51+
"typescript": "^4.0.5"
5252
},
5353
"peerDependencies": {
5454
"cypress": "^2.1.0 || ^3.0.0 || ^4.0.0 || ^5.0.0"

types/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ export type SelectorMatcherOptions =
2121

2222
declare global {
2323
namespace Cypress {
24+
// 🤔 unsure why this Subject is unused, nor what to do with it...
25+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
2426
interface Chainable<Subject = any> {
2527
/**
2628
* dom-testing-library helpers for Cypress

0 commit comments

Comments
 (0)