diff options
author | Max <max@nextcloud.com> | 2022-05-03 17:33:18 +0300 |
---|---|---|
committer | Max <max@nextcloud.com> | 2022-05-03 17:33:39 +0300 |
commit | 56ff9c56ffe1d09958028c54a17e9dc3ebc4b53e (patch) | |
tree | 16fa3c3421fb2386a1d238246ff42a4c1c2edf23 /src/extensions | |
parent | 93ba775578f31d162eafd6a1d8acf3e273962b19 (diff) |
fix: specify file extensions in import statements
As recommended in @nextcloud/eslint-config@8.0.0
https://github.com/nextcloud/eslint-config/pull/292
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'src/extensions')
-rw-r--r-- | src/extensions/UserColor.js | 4 | ||||
-rw-r--r-- | src/extensions/index.js | 10 | ||||
-rw-r--r-- | src/extensions/tracking/TrackState.js | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/extensions/UserColor.js b/src/extensions/UserColor.js index d6b55bdc7..bb9b36be1 100644 --- a/src/extensions/UserColor.js +++ b/src/extensions/UserColor.js @@ -23,8 +23,8 @@ import { Extension } from '@tiptap/core' import { Plugin } from 'prosemirror-state' import { Decoration, DecorationSet } from 'prosemirror-view' -import TrackState from './tracking/TrackState' -import { Span } from './tracking/models' +import TrackState from './tracking/TrackState.js' +import { Span } from './tracking/models.js' const UserColor = Extension.create({ diff --git a/src/extensions/index.js b/src/extensions/index.js index dfc84425f..998fff30c 100644 --- a/src/extensions/index.js +++ b/src/extensions/index.js @@ -20,11 +20,11 @@ * */ -import Emoji from './Emoji' -import Keymap from './Keymap' -import UserColor from './UserColor' -import Collaboration from './Collaboration' -import Markdown from './Markdown' +import Emoji from './Emoji.js' +import Keymap from './Keymap.js' +import UserColor from './UserColor.js' +import Collaboration from './Collaboration.js' +import Markdown from './Markdown.js' export { Emoji, diff --git a/src/extensions/tracking/TrackState.js b/src/extensions/tracking/TrackState.js index 2a3832885..3d1ec6f24 100644 --- a/src/extensions/tracking/TrackState.js +++ b/src/extensions/tracking/TrackState.js @@ -20,7 +20,7 @@ * */ -import { Span } from './models' +import { Span } from './models.js' /* * This code is heavily inspired by the change tracking example of prosemirror |