Skip to content

Commit 536d24f

Browse files
Tweak eslint after the upgrade introduces new failures
1 parent ab023fb commit 536d24f

File tree

3 files changed

+9
-39
lines changed

3 files changed

+9
-39
lines changed

.eslintrc.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,15 @@ module.exports = {
5555
ignoreRestSiblings: true,
5656
},
5757
],
58+
// Empty interfaces extending a base type are used for component props
59+
"@typescript-eslint/no-empty-object-type": "off",
60+
// Short-circuit expressions like `x && x.click()` are idiomatic
61+
"@typescript-eslint/no-unused-expressions": "off",
5862
// Temporary, new rules on Vite migration that are widely flouted
5963
"@typescript-eslint/no-explicit-any": "off",
6064
"prefer-const": "off",
6165
"react/display-name": "off",
66+
// TypeScript handles prop validation
67+
"react/prop-types": "off",
6268
},
6369
};

package-lock.json

Lines changed: 1 addition & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@
5555
"xterm-addon-fit": "^0.5.0"
5656
},
5757
"devDependencies": {
58-
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
59-
"@chakra-ui/cli": "2.4.1",
58+
"@chakra-ui/cli": "2.4.1",
6059
"@formatjs/cli": "^6.2.7",
6160
"@playwright/test": "^1.58.2",
6261
"@testing-library/jest-dom": "^5.14.1",
@@ -82,7 +81,7 @@
8281
"vitest": "^4.0.18"
8382
},
8483
"engines": {
85-
"node": ">=20.0",
84+
"node": ">=24.0",
8685
"npm": ">=10.0"
8786
},
8887
"scripts": {

0 commit comments

Comments
 (0)