mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-17 21:12:20 +01:00
Fix eslint
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
08c2d70e50
commit
c65a56b0e3
6 changed files with 15 additions and 42 deletions
|
|
@ -32,9 +32,9 @@ name: eslint
|
|||
|
||||
steps:
|
||||
- name: eslint
|
||||
image: nextcloudci/eslint:eslint-1
|
||||
image: node:lts
|
||||
commands:
|
||||
- ./run-eslint.sh
|
||||
- make lint
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -29,9 +29,11 @@ watch-js:
|
|||
cd vue/ && npm run watch
|
||||
|
||||
lint:
|
||||
npm run lint
|
||||
cd vue/ && npm run lint
|
||||
|
||||
lint-fix:
|
||||
npm run lint:fix
|
||||
cd vue/ && npm run lint:fix
|
||||
|
||||
npm-init: npm-init-root npm-init-vue
|
||||
|
|
|
|||
24
package.json
24
package.json
|
|
@ -1,26 +1,8 @@
|
|||
{
|
||||
"name": "talk",
|
||||
"description": "A simple Nextcloud app using vue-components",
|
||||
"version": "3.2.0",
|
||||
"author": "John Molakvoæ <skjnldsv@protonmail.com>",
|
||||
"contributors": [
|
||||
"John Molakvoæ <skjnldsv@protonmail.com>"
|
||||
],
|
||||
"keywords": [
|
||||
"nextcloud",
|
||||
"vueexample",
|
||||
"app",
|
||||
"dev",
|
||||
"vuejs"
|
||||
],
|
||||
"bugs": {
|
||||
"url": "https://github.com/skjnldsv/vueexample/issues"
|
||||
},
|
||||
"repository": {
|
||||
"url": "https://github.com/skjnldsv/vueexample",
|
||||
"type": "git"
|
||||
},
|
||||
"homepage": "https://github.com/skjnldsv/vueexample",
|
||||
"description": "",
|
||||
"version": "8.0.0",
|
||||
"author": "Joas Schilling <coding@schilljs.com>",
|
||||
"license": "agpl",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
ESLINT=$(which eslint || true)
|
||||
if [ -z "$ESLINT" ]; then
|
||||
echo "Can't find command \"eslint\" in $PATH"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo Checking scripts with $ESLINT ...
|
||||
find -name "*.js" -print0 | xargs -0 $ESLINT
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
<div class="acli__content">
|
||||
<div class="acli__content__line-one">
|
||||
<span class="acli__content__line-one__title">
|
||||
{{title}}
|
||||
{{ title }}
|
||||
</span>
|
||||
<span>
|
||||
<Actions
|
||||
|
|
@ -100,12 +100,6 @@ export default {
|
|||
default: ''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// forward click event
|
||||
onClick(event) {
|
||||
this.$emit('click', event)
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
hasDetails() {
|
||||
return (this.details !== '' && !this.$slots.counter)
|
||||
|
|
@ -129,6 +123,12 @@ export default {
|
|||
}
|
||||
}
|
||||
|
||||
},
|
||||
methods: {
|
||||
// forward click event
|
||||
onClick(event) {
|
||||
this.$emit('click', event)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
<ActionButton
|
||||
icon="icon-delete"
|
||||
@click.prevent.exact="deleteConversation(item.token)">
|
||||
{{t('spreed', 'Leave Conversation')}}
|
||||
{{ t('spreed', 'Leave Conversation') }}
|
||||
</ActionButton>
|
||||
</template>
|
||||
</AppContentListItem>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue