Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
funkwhale
funkwhale
Commits
898a3e9c
Commit
898a3e9c
authored
Apr 16, 2022
by
Kasper Seweryn
🥞
Committed by
Kasper Seweryn
Jul 03, 2022
Browse files
Temporarily disable failing typescript rules
parent
f7874ce5
Changes
4
Hide whitespace changes
Inline
Side-by-side
front/.eslintrc.js
View file @
898a3e9c
...
...
@@ -22,6 +22,10 @@ module.exports = {
],
rules
:
{
'
vue/no-v-html
'
:
'
off
'
,
// TODO: tackle this properly
'
vue/no-use-v-if-with-v-for
'
:
'
off
'
'
vue/no-use-v-if-with-v-for
'
:
'
off
'
,
// TODO: Enable typescript rules later
'
@typescript-eslint/no-this-alias
'
:
'
off
'
,
'
@typescript-eslint/no-empty-function
'
:
'
off
'
}
}
front/package.json
View file @
898a3e9c
...
...
@@ -10,7 +10,7 @@
"build:deployment"
:
"vite build --base /front/"
,
"serve"
:
"vite preview"
,
"test:unit"
:
"jest"
,
"lint"
:
"eslint --ext .js,.vue src"
,
"lint"
:
"eslint --ext
.ts,
.js,.vue src"
,
"fix-fomantic-css"
:
"scripts/fix-fomantic-css.sh"
,
"i18n-compile"
:
"scripts/i18n-compile.sh"
,
"i18n-extract"
:
"scripts/i18n-extract.sh"
,
...
...
front/src/components/admin/SignupFormBuilder.vue
View file @
898a3e9c
...
...
@@ -174,7 +174,7 @@ function arrayMove (arr, oldIndex, newIndex) {
}
arr
.
splice
(
newIndex
,
0
,
arr
.
splice
(
oldIndex
,
1
)[
0
])
return
arr
}
;
}
// v-model with objects is complex, cf
// https://simonkollross.de/posts/vuejs-using-v-model-with-objects-for-custom-components
...
...
front/src/views/Search.vue
View file @
898a3e9c
...
...
@@ -204,8 +204,8 @@ export default {
params
.
append
(
'
q
'
,
this
.
query
)
params
.
append
(
'
page
'
,
this
.
page
)
params
.
append
(
'
page_size
'
,
this
.
paginateBy
)
if
(
this
.
currentType
.
contentCategory
!==
undefined
)
{
params
.
append
(
'
content_category
'
,
this
.
currentType
.
contentCategory
)
}
;
if
(
this
.
currentType
.
includeChannels
!==
undefined
)
{
params
.
append
(
'
include_channels
'
,
this
.
currentType
.
includeChannels
)
}
;
if
(
this
.
currentType
.
contentCategory
!==
undefined
)
{
params
.
append
(
'
content_category
'
,
this
.
currentType
.
contentCategory
)
}
if
(
this
.
currentType
.
includeChannels
!==
undefined
)
{
params
.
append
(
'
include_channels
'
,
this
.
currentType
.
includeChannels
)
}
return
params
},
types
()
{
...
...
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