diff options
| author | 2023-05-04 23:22:17 +0800 | |
|---|---|---|
| committer | 2023-05-04 23:22:17 +0800 | |
| commit | b6dc0edc94cebdee74d67f5919f46c28cd96b9f8 (patch) | |
| tree | ef97add33058dd7f65e662f402cf7ce24b7482e8 /source/features/show-names.tsx | |
| parent | 0f0d7435a649466084fab40bb7fe0481b0c73dba (diff) | |
| download | refined-github-b6dc0edc94cebdee74d67f5919f46c28cd96b9f8.tar.gz refined-github-b6dc0edc94cebdee74d67f5919f46c28cd96b9f8.tar.zst refined-github-b6dc0edc94cebdee74d67f5919f46c28cd96b9f8.zip | |
Lint (ESM file imports + named functions) (#6613)
Diffstat (limited to 'source/features/show-names.tsx')
| -rw-r--r-- | source/features/show-names.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/features/show-names.tsx b/source/features/show-names.tsx index 4567f6e3..852b2910 100644 --- a/source/features/show-names.tsx +++ b/source/features/show-names.tsx @@ -3,11 +3,11 @@ import React from 'dom-chef'; import * as pageDetect from 'github-url-detection'; import batchedFunction from 'batched-function'; -import features from '../feature-manager'; -import * as api from '../github-helpers/api'; -import {getUsername, compareNames} from '../github-helpers'; -import observe from '../helpers/selector-observer'; -import {removeTextNodeContaining} from '../helpers/dom-utils'; +import features from '../feature-manager.js'; +import * as api from '../github-helpers/api.js'; +import {getUsername, compareNames} from '../github-helpers/index.js'; +import observe from '../helpers/selector-observer.js'; +import {removeTextNodeContaining} from '../helpers/dom-utils.js'; // The selector observer calls this function several times, but we want to batch them into a single GraphQL API call const batchUpdateLinks = batchedFunction(async (batchedUsernameElements: HTMLAnchorElement[]): Promise<void> => { |
