Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jeff
funkwhale
Commits
db86483f
Verified
Commit
db86483f
authored
Feb 21, 2022
by
Georg Krause
Browse files
Make linter happy
parent
d949909c
Changes
2
Hide whitespace changes
Inline
Side-by-side
front/.eslintrc.js
View file @
db86483f
...
...
@@ -12,7 +12,7 @@ module.exports = {
SharedArrayBuffer
:
'
readonly
'
},
parserOptions
:
{
ecmaVersion
:
20
18
,
ecmaVersion
:
20
20
,
sourceType
:
'
module
'
,
},
plugins
:
[
...
...
front/src/components/manage/moderation/InstancePolicyCard.vue
View file @
db86483f
...
...
@@ -83,6 +83,7 @@
</template>
<
script
>
import
showdown
from
'
showdown
'
export
default
{
props
:
{
...
...
@@ -94,10 +95,7 @@ export default {
}
},
created
()
{
const
self
=
this
import
(
/* webpackChunkName: "showdown" */
'
showdown
'
).
then
(
module
=>
{
self
.
markdown
=
new
module
.
default
.
Converter
({
simplifiedAutoLink
:
true
,
openLinksInNewWindow
:
true
})
})
this
.
markdown
=
showdown
.
Converter
({
simplifiedAutoLink
:
true
,
openLinksInNewWindow
:
true
})
}
}
</
script
>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment