Skip to content

Commit 135870f

Browse files
authored
Merge pull request #2786 from nextcloud/dependabot/npm_and_yarn/stable5/nextcloud/prettier-config-1.2.0
Chore(deps-dev): Bump @nextcloud/prettier-config from 1.1.0 to 1.2.0
2 parents 954961d + 9b3aa0e commit 135870f

17 files changed

Lines changed: 104 additions & 117 deletions

package-lock.json

Lines changed: 33 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@nextcloud/browserslist-config": "^3.0.1",
5858
"@nextcloud/e2e-test-server": "^0.2.1",
5959
"@nextcloud/eslint-config": "^8.4.2",
60-
"@nextcloud/prettier-config": "^1.1.0",
60+
"@nextcloud/prettier-config": "^1.2.0",
6161
"@nextcloud/stylelint-config": "^3.1.0",
6262
"@nextcloud/vite-config": "^1.5.3",
6363
"@playwright/test": "^1.53.1",

playwright/support/sections/FormSection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ export class FormSection {
5656
private getFormUpdatedPromise(): Promise<Response> {
5757
return this.page.waitForResponse(
5858
(response) =>
59-
response.request().method() === 'PATCH' &&
60-
response
59+
response.request().method() === 'PATCH'
60+
&& response
6161
.request()
6262
.url()
6363
.includes('/ocs/v2.php/apps/forms/api/v3/forms/'),

src/components/Questions/QuestionDate.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ export default {
242242
*/
243243
disabledDates(date) {
244244
return (
245-
(this.dateMin && date < this.dateMin) ||
246-
(this.dateMax && date > this.dateMax)
245+
(this.dateMin && date < this.dateMin)
246+
|| (this.dateMax && date > this.dateMax)
247247
)
248248
},
249249

src/components/Questions/QuestionFile.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ export default {
240240
})
241241
242242
this.maxFileSizeValue =
243-
this.extraSettings.maxFileSize /
244-
FILE_SIZE_UNITS[this.maxFileSizeUnit]
243+
this.extraSettings.maxFileSize
244+
/ FILE_SIZE_UNITS[this.maxFileSizeUnit]
245245
}
246246
},
247247
@@ -259,8 +259,8 @@ export default {
259259
formData.append('files[]', file)
260260
261261
if (
262-
this.extraSettings.maxFileSize > 0 &&
263-
file.size > this.extraSettings.maxFileSize
262+
this.extraSettings.maxFileSize > 0
263+
&& file.size > this.extraSettings.maxFileSize
264264
) {
265265
showError(
266266
t(

src/components/Questions/QuestionMultiple.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,8 @@ export default {
436436
this.onExtraSettingsChange({ optionsLimitMin: undefined })
437437
} else if (min) {
438438
if (
439-
this.extraSettings.optionsLimitMax &&
440-
min > this.extraSettings.optionsLimitMax
439+
this.extraSettings.optionsLimitMax
440+
&& min > this.extraSettings.optionsLimitMax
441441
) {
442442
showError(
443443
t(

src/components/Questions/QuestionShort.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@ export default {
107107
submissionInputPlaceholder() {
108108
if (!this.readOnly) {
109109
return (
110-
this.validationObject.createPlaceholder ||
111-
this.answerType.createPlaceholder
110+
this.validationObject.createPlaceholder
111+
|| this.answerType.createPlaceholder
112112
)
113113
}
114114
return (
115-
this.validationObject.submitPlaceholder ||
116-
this.answerType.submitPlaceholder
115+
this.validationObject.submitPlaceholder
116+
|| this.answerType.submitPlaceholder
117117
)
118118
},
119119
/**
@@ -157,8 +157,8 @@ export default {
157157
// If the browsers validation succeeds either the browser does not implement a validation
158158
// or it is valid, so we double check by running our custom validation.
159159
if (
160-
!input.checkValidity() ||
161-
!this.validationObject.validate(
160+
!input.checkValidity()
161+
|| !this.validationObject.validate(
162162
value,
163163
splitRegex(this.validationRegex),
164164
)

src/components/Results/ResultsSummary.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,11 @@ export default {
212212
answersModels.unshift({
213213
id: 0,
214214
text:
215-
noResponseCount +
216-
' (' +
217-
noResponsePercentage +
218-
'%): ' +
219-
t('forms', 'No response'),
215+
noResponseCount
216+
+ ' ('
217+
+ noResponsePercentage
218+
+ '%): '
219+
+ t('forms', 'No response'),
220220
})
221221
222222
return answersModels

src/components/SidebarTabs/SettingsSidebarTab.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ export default {
180180
*/
181181
hasCustomSubmissionMessage() {
182182
return (
183-
this.form?.submissionMessage !== undefined &&
184-
this.form?.submissionMessage !== null
183+
this.form?.submissionMessage !== undefined
184+
&& this.form?.submissionMessage !== null
185185
)
186186
},
187187

src/components/SidebarTabs/SharingSearchDiv.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ export default {
6161
(item) =>
6262
!this.currentShares.find(
6363
(share) =>
64-
share.shareWith === item.shareWith &&
65-
share.shareType === item.shareType,
64+
share.shareWith === item.shareWith
65+
&& share.shareType === item.shareType,
6666
),
6767
)
6868
}
@@ -71,8 +71,8 @@ export default {
7171
(item) =>
7272
!this.currentShares.find(
7373
(share) =>
74-
share.shareWith === item.shareWith &&
75-
share.shareType === item.shareType,
74+
share.shareWith === item.shareWith
75+
&& share.shareType === item.shareType,
7676
),
7777
)
7878
},

0 commit comments

Comments
 (0)