Skip to content

Commit 7782b6d

Browse files
committed
chore: Update typescript and @typescript-eslint/parser
Had to add eslint-plugin-node config as it does not support Node ESM exports field in package.json Closes #414
1 parent a492622 commit 7782b6d

3 files changed

Lines changed: 107 additions & 15 deletions

File tree

.eslintrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,11 @@
176176
"pattern": "https://github.com/platinumazure/eslint-plugin-qunit/blob/master/docs/rules/{{name}}.md"
177177
}],
178178

179+
// eslint-plugin-node
180+
"node/no-missing-require": ["error", {
181+
"allowModules": ["@typescript-eslint/parser"]
182+
}],
183+
179184
// eslint-plugin-unicorn
180185
"unicorn/consistent-function-scoping": "off",
181186
"unicorn/empty-brace-spaces": "off",

package-lock.json

Lines changed: 100 additions & 13 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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"devDependencies": {
2929
"@release-it/conventional-changelog": "^5.1.1",
30-
"@typescript-eslint/parser": "^5.60.1",
30+
"@typescript-eslint/parser": "^6.7.4",
3131
"all-contributors-cli": "^6.26.1",
3232
"chai": "^4.3.10",
3333
"coveralls": "^3.1.1",
@@ -49,7 +49,7 @@
4949
"outdent": "^0.8.0",
5050
"release-it": "^15.11.0",
5151
"semver": "^7.5.4",
52-
"typescript": "^5.1.3"
52+
"typescript": "^5.2.2"
5353
},
5454
"peerDepencencies": {
5555
"eslint": ">=8.38.0 <9.0.0"

0 commit comments

Comments
 (0)