Skip to content

Commit

Permalink
chore: Fix eslint
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <chrng8@gmail.com>
  • Loading branch information
Pytal committed Jul 12, 2024
1 parent f3671ae commit c46bab6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module.exports = {
appName: true,
},
extends: [
'@nextcloud',
'@nextcloud/eslint-config/typescript',
],
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"build": "vite build --mode production",
"dev": "vite build --mode development",
"watch": "vite build --mode development --watch",
"lint": "eslint --ext .js,.vue src",
"lint:fix": "eslint --ext .js,.vue src --fix",
"lint": "eslint --ext .js,.ts,.vue src",
"lint:fix": "eslint --ext .js,.ts,.vue src --fix",
"stylelint": "stylelint css/*.css css/*.scss src/**/*.vue",
"stylelint:fix": "stylelint css/*.css css/*.scss src/**/*.vue --fix"
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/GuestDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default {
this.loaded = false
try {
const { data } = await axios.get(
generateOcsUrl('apps/guests/api/v1/users/{guestId}', { guestId: this.guestId })
generateOcsUrl('apps/guests/api/v1/users/{guestId}', { guestId: this.guestId }),
)
this.details[this.guestId] = data.ocs.data
this.activeUser = this.guestId
Expand Down
6 changes: 3 additions & 3 deletions src/services/logger.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getLoggerBuilder } from '@nextcloud/logger'

export const logger = getLoggerBuilder()
.setApp('guests')
.detectUser()
.build()
.setApp('guests')
.detectUser()
.build()

0 comments on commit c46bab6

Please sign in to comment.