Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Commit 08e242d

Browse files
renovate[bot]renovate-botfelixfbecker
authored
chore(deps): update dependency @sourcegraph/eslint-config to ^0.17.2 (#266)
Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Felix Becker <[email protected]>
1 parent 18d60d7 commit 08e242d

File tree

4 files changed

+34
-34
lines changed

4 files changed

+34
-34
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"devDependencies": {
4141
"@commitlint/cli": "^8.3.5",
4242
"@commitlint/config-conventional": "^8.3.4",
43-
"@sourcegraph/eslint-config": "^0.16.3",
43+
"@sourcegraph/eslint-config": "^0.17.2",
4444
"@sourcegraph/prettierrc": "^3.0.3",
4545
"@sourcegraph/tsconfig": "^4.0.1",
4646
"@types/chai": "4.2.11",

src/hoverifier.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export interface HoverifyOptions<C extends object>
211211
* Output that contains the information needed to render the HoverOverlay.
212212
*
213213
* @template C Extra context for the hovered token.
214-
* * @template D The type of the hover content data.
214+
* @template D The type of the hover content data.
215215
* @template A The type of an action.
216216
*/
217217
export interface HoverState<C extends object, D, A> {

src/token_position.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import { LineOrPositionOrRange } from './types'
44
/**
55
* A collection of methods needed to tell codeintellify how to look at the DOM. These are required for
66
* ensuring that we don't rely on any sort of specific DOM structure.
7-
*
8-
*
97
*/
108
export interface DOMFunctions {
119
/**
@@ -70,19 +68,21 @@ export function convertCodeElementIdempotent(element: HTMLElement): void {
7068
* convertNode modifies a DOM node so that we can identify precisely token a user has clicked or hovered over.
7169
* On a code view, source code is typically wrapped in a HTML table cell. It may look like this:
7270
*
73-
* <td id="LC18" class="blob-code blob-code-inner js-file-line">
74-
* <#textnode>\t</#textnode>
75-
* <span class="pl-k">return</span>
76-
* <#textnode>&amp;Router{namedRoutes: </#textnode>
77-
* <span class="pl-c1">make</span>
78-
* <#textnode>(</#textnode>
79-
* <span class="pl-k">map</span>
80-
* <#textnode>[</#textnode>
81-
* <span class="pl-k">string</span>
82-
* <#textnode>]*Route), KeepContext: </#textnode>
83-
* <span class="pl-c1">false</span>
84-
* <#textnode>}</#textnode>
85-
* </td>
71+
* ```html
72+
* <td id="LC18" class="blob-code blob-code-inner js-file-line">
73+
* <#textnode>\t</#textnode>
74+
* <span class="pl-k">return</span>
75+
* <#textnode>&amp;Router{namedRoutes: </#textnode>
76+
* <span class="pl-c1">make</span>
77+
* <#textnode>(</#textnode>
78+
* <span class="pl-k">map</span>
79+
* <#textnode>[</#textnode>
80+
* <span class="pl-k">string</span>
81+
* <#textnode>]*Route), KeepContext: </#textnode>
82+
* <span class="pl-c1">false</span>
83+
* <#textnode>}</#textnode>
84+
* </td>
85+
* ```
8686
*
8787
* The browser extension works by registering a hover event listeners on the <td> element. When the user hovers over
8888
* "return" (in the first <span> node) the event target will be the <span> node. We can use the event target to determine which line

yarn.lock

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -489,21 +489,21 @@
489489
resolved "https://registry.yarnpkg.com/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz#8da5c6530915653f3a1f38fd5f101d8c3f8079c5"
490490
integrity sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==
491491

492-
"@sourcegraph/eslint-config@^0.16.3":
493-
version "0.16.3"
494-
resolved "https://registry.yarnpkg.com/@sourcegraph/eslint-config/-/eslint-config-0.16.3.tgz#9dc43699b5b225da820e0f66a06f3ced42213e3e"
495-
integrity sha512-OqJxeTUMxa0+vIMXXPfoDS0fODZpexiuvjmyUp/ArEEEq8iDmuINZVIY6g2jxOvrmUz4U8f0LpTHu1WdfyXUSg==
492+
"@sourcegraph/eslint-config@^0.17.2":
493+
version "0.17.2"
494+
resolved "https://registry.yarnpkg.com/@sourcegraph/eslint-config/-/eslint-config-0.17.2.tgz#7e3748abdb4e964eb1e2fc672f5f08a86d08b034"
495+
integrity sha512-MUlDDpX5TvkLvEYALuZKfztOgy7HRkilBlTqgjq5obEVdHregb1Mee1+vRMyOQCvXobIx2nkogUyQoewERMIog==
496496
dependencies:
497497
"@sourcegraph/prettierrc" "^3.0.3"
498498
"@typescript-eslint/eslint-plugin" "^2.31.0"
499499
"@typescript-eslint/parser" "^2.31.0"
500-
eslint-config-prettier "^6.10.1"
500+
eslint-config-prettier "^6.11.0"
501501
eslint-plugin-ban "^1.4.0"
502502
eslint-plugin-etc "^0.0.1-beta.25"
503503
eslint-plugin-import "^2.20.2"
504-
eslint-plugin-jsdoc "^22.1.0"
504+
eslint-plugin-jsdoc "^22.2.0"
505505
eslint-plugin-react "^7.19.0"
506-
eslint-plugin-react-hooks "^3.0.0"
506+
eslint-plugin-react-hooks "^4.0.0"
507507
eslint-plugin-rxjs "^0.0.2-beta.20"
508508

509509
"@sourcegraph/event-positions@^1.0.4":
@@ -2993,10 +2993,10 @@ [email protected], escape-string-regexp@^1.0.2, escape-string-regexp@^1
29932993
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
29942994
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
29952995

2996-
eslint-config-prettier@^6.10.1:
2997-
version "6.10.1"
2998-
resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.10.1.tgz#129ef9ec575d5ddc0e269667bf09defcd898642a"
2999-
integrity sha512-svTy6zh1ecQojvpbJSgH3aei/Rt7C6i090l5f2WQ4aB05lYHeZIR1qL4wZyyILTbtmnbHP5Yn8MrsOJMGa8RkQ==
2996+
eslint-config-prettier@^6.11.0:
2997+
version "6.11.0"
2998+
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.11.0.tgz#f6d2238c1290d01c859a8b5c1f7d352a0b0da8b1"
2999+
integrity sha512-oB8cpLWSAjOVFEJhhyMZh6NOEOtBVziaqdDQ86+qhDHFbZXoRTM7pNSvFRfW/W/L/LrQ38C99J5CGuRBBzBsdA==
30003000
dependencies:
30013001
get-stdin "^6.0.0"
30023002

@@ -3067,9 +3067,9 @@ eslint-plugin-import@^2.20.2:
30673067
read-pkg-up "^2.0.0"
30683068
resolve "^1.12.0"
30693069

3070-
eslint-plugin-jsdoc@^22.1.0:
3070+
eslint-plugin-jsdoc@^22.2.0:
30713071
version "22.2.0"
3072-
resolved "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-22.2.0.tgz#b89159e01ed8eeee4f6512101e96cac6a2999461"
3072+
resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-22.2.0.tgz#b89159e01ed8eeee4f6512101e96cac6a2999461"
30733073
integrity sha512-r8yRB6jGay9tJkx1BherKFtOkpDud086VZenUqZiZe0F7cD4OABhte0xcj3/7mXPuJbaou8WF3JzEtTdDnCzhA==
30743074
dependencies:
30753075
comment-parser "^0.7.2"
@@ -3080,10 +3080,10 @@ eslint-plugin-jsdoc@^22.1.0:
30803080
semver "^6.3.0"
30813081
spdx-expression-parse "^3.0.0"
30823082

3083-
eslint-plugin-react-hooks@^3.0.0:
3084-
version "3.0.0"
3085-
resolved "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-3.0.0.tgz#9e80c71846eb68dd29c3b21d832728aa66e5bd35"
3086-
integrity sha512-EjxTHxjLKIBWFgDJdhKKzLh5q+vjTFrqNZX36uIxWS4OfyXe5DawqPj3U5qeJ1ngLwatjzQnmR0Lz0J0YH3kxw==
3083+
eslint-plugin-react-hooks@^4.0.0:
3084+
version "4.0.0"
3085+
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.0.0.tgz#81196b990043cde339e25c6662aeebe32ac52d01"
3086+
integrity sha512-YKBY+kilK5wrwIdQnCF395Ya6nDro3EAMoe+2xFkmyklyhF16fH83TrQOo9zbZIDxBsXFgBbywta/0JKRNFDkw==
30873087

30883088
eslint-plugin-react@^7.19.0:
30893089
version "7.19.0"

0 commit comments

Comments
 (0)