Skip to content

Commit 61d5a60

Browse files
authored
Merge pull request #1816 from mightyiam/declare-utils-dep
fix: add missing @typescript-eslint/utils dep
2 parents 2e819bc + 9e5dae8 commit 61d5a60

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

Diff for: package-lock.json

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"TypeScript"
5757
],
5858
"dependencies": {
59+
"@typescript-eslint/utils": "^8.3.0",
5960
"eslint-plugin-import": "^2.31.0",
6061
"eslint-plugin-n": "^17.0.0",
6162
"eslint-plugin-promise": "^7.0.0",

Diff for: renovate.json

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
"matchPackagePrefixes": ["@commitlint/"],
1818
"groupName": "@commitlint packages"
1919
},
20+
{
21+
"matchPackageNames": ["@typescript-eslint/*", "typescript-eslint"],
22+
"groupName": "typescript-eslint packages"
23+
},
2024
{
2125
"matchDepTypes": ["peerDependencies"],
2226
"enabled": false

Diff for: src/test/misc.ts

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import test from 'ava'
22
import exported from '..'
3+
import { getPkgDetails } from './_util'
34

45
test('rule configs are arrays', (t) => {
56
if (exported.rules === undefined) throw new Error()
@@ -8,3 +9,12 @@ test('rule configs are arrays', (t) => {
89
)
910
t.deepEqual(nonArrayConfigs, [])
1011
})
12+
13+
test('tseslint dep group same version', async (t) => {
14+
const { ourDeps } = await getPkgDetails()
15+
const tseslint = ourDeps['typescript-eslint']
16+
if (tseslint === undefined) throw new Error()
17+
const tseslintUtils = ourDeps['@typescript-eslint/utils']
18+
if (tseslintUtils === undefined) throw new Error()
19+
t.is(tseslint, tseslintUtils)
20+
})

0 commit comments

Comments
 (0)