Commit 832fac3
feat(eslint-plugin): improve type of exported plugin (#9700)
* feat(eslint-plugin): Improve type of exported plugin
Use satisfies operator to verify that the shape of `plugins` matches
`ESLint.Plugin` (the extended version of it) while retaining its actual
shape.
* add changeset
---------
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>1 parent da9e8bc commit 832fac3
File tree
2 files changed
+31
-27
lines changed- .changeset
- packages/eslint-plugin-query/src
2 files changed
+31
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
43 | 22 | | |
44 | 23 | | |
45 | 24 | | |
| |||
50 | 29 | | |
51 | 30 | | |
52 | 31 | | |
53 | | - | |
54 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
55 | 54 | | |
56 | 55 | | |
0 commit comments