File tree Expand file tree Collapse file tree 4 files changed +16
-9
lines changed Expand file tree Collapse file tree 4 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 29
29
- uses : actions/setup-node@v4
30
30
with :
31
31
node-version : ${{ matrix.node-version }}
32
- - run : npm install --legacy-peer-deps
32
+ - run : npm install
33
33
- run : npx ava
34
34
lint-test :
35
35
runs-on : ${{ matrix.os }}
44
44
with :
45
45
# Locked due to the difference of `zlib.gzipSync()` between Node.js versions
46
46
node-version : 20
47
- - run : npm install --legacy-peer-deps
47
+ - run : npm install
48
48
- run : npm run lint
49
49
- run : npx del-cli test/snapshots --verbose
50
50
# Force update snapshots, https://github.com/avajs/ava/discussions/2754
62
62
steps :
63
63
- uses : actions/checkout@v4
64
64
- uses : actions/setup-node@v4
65
- - run : npm install --legacy-peer-deps
65
+ - run : npm install
66
66
- run : npm run run-rules-on-codebase
67
67
integration :
68
68
name : Integration test (${{ matrix.group }})
85
85
steps :
86
86
- uses : actions/checkout@v4
87
87
- uses : actions/setup-node@v4
88
- - run : npm install --legacy-peer-deps
88
+ - run : npm install
89
89
- run : npm run integration -- --group ${{ matrix.group }}
Original file line number Diff line number Diff line change 9
9
lint :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v3
13
- - uses : actions/setup-node@v3
12
+ - uses : actions/checkout@v4
13
+ - uses : actions/setup-node@v4
14
14
- run : |
15
- npm install --legacy-peer-deps
15
+ npm install
16
16
npm link
17
- npm link eslint-plugin-unicorn --legacy-peer-deps
17
+ npm link eslint-plugin-unicorn
18
18
- uses : AriPerkkio/eslint-remote-tester-run-action@v4
19
19
with :
20
20
issue-title : " Results of weekly scheduled smoke test"
Original file line number Diff line number Diff line change 71
71
"@babel/core" : " ^7.24.5" ,
72
72
"@babel/eslint-parser" : " ^7.24.5" ,
73
73
"@lubien/fixture-beta-package" : " ^1.0.0-beta.1" ,
74
- "@typescript-eslint/parser" : " ^7. 8.0" ,
74
+ "@typescript-eslint/parser" : " ^8.0.0-alpha.12 " ,
75
75
"ava" : " ^6.1.3" ,
76
76
"c8" : " ^9.1.0" ,
77
77
"chalk" : " ^5.3.0" ,
Original file line number Diff line number Diff line change @@ -120,11 +120,18 @@ function isNotReference(node) {
120
120
return parent . parameters . includes ( node ) ;
121
121
}
122
122
123
+ // `@typescript-eslint/parse` v7
123
124
// `type Foo = { [Identifier in keyof string]: number; };`
124
125
case 'TSTypeParameter' : {
125
126
return parent . name === node ;
126
127
}
127
128
129
+ // `@typescript-eslint/parse` v8
130
+ // `type Foo = { [Identifier in keyof string]: number; };`
131
+ case 'TSMappedType' : {
132
+ return parent . key === node ;
133
+ }
134
+
128
135
// `type Identifier = Foo`
129
136
case 'TSTypeAliasDeclaration' : {
130
137
return parent . id === node ;
You can’t perform that action at this time.
0 commit comments