Skip to content

Commit 07dd8a1

Browse files
authored
fix: disable importHelpers to drop tslib dependency (#13)
1 parent 9f4cf90 commit 07dd8a1

File tree

4 files changed

+227
-220
lines changed

4 files changed

+227
-220
lines changed

.changeset/proud-carpets-shine.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-import-context": patch
3+
---
4+
5+
fix: disable `importHelpers` to drop `tslib` dependency

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"@changesets/changelog-github": "^0.5.1",
6363
"@changesets/cli": "^2.29.4",
6464
"@commitlint/cli": "^19.8.1",
65-
"@eslint-react/eslint-plugin": "^1.49.0",
65+
"@eslint-react/eslint-plugin": "^1.50.0",
6666
"@mdx-js/rollup": "^3.1.0",
6767
"@shikijs/rehype": "^3.4.2",
6868
"@types/mdx": "^2.0.13",
@@ -80,12 +80,12 @@
8080
"eslint-plugin-react-hooks": "^5.2.0",
8181
"github-markdown-css": "^5.8.1",
8282
"nano-staged": "^0.8.0",
83-
"npm-run-all2": "^8.0.3",
83+
"npm-run-all2": "^8.0.4",
8484
"premove": "^4.0.0",
8585
"prettier": "^3.5.3",
8686
"react": "^19.1.0",
8787
"react-dom": "^19.1.0",
88-
"react-router-dom": "^7.6.0",
88+
"react-router-dom": "^7.6.1",
8989
"rehype-slug": "^6.0.0",
9090
"remark-gfm": "^4.0.1",
9191
"simple-git-hooks": "^2.13.0",

tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"extends": "@1stg/tsconfig/node",
33
"compilerOptions": {
4+
// drop `tslib` dependency
5+
"importHelpers": false,
46
"rootDir": ".",
57
// https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping#node-12
68
"target": "ES2019"

0 commit comments

Comments
 (0)