chore(lint): enable 'vue/multi-word-component-names' rule

- lint jsdoc warnings

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
This commit is contained in:
Maksim Sukharev 2025-09-28 13:25:12 +02:00
parent 1d742ade0d
commit 0dca34885e
3 changed files with 2 additions and 1 deletions

View file

@ -49,7 +49,6 @@ export default [
'no-console': 'off', // non-fixable
'no-unused-vars': 'off', // non-fixable
'no-use-before-define': 'off', // non-fixable
'vue/multi-word-component-names': 'off', // non-fixable
'vue/no-boolean-default': 'off', // non-fixable
'vue/no-required-prop-with-default': 'off', // non-fixable
'vue/no-unused-properties': 'off', // non-fixable

View file

@ -210,6 +210,7 @@ async function editMessage({ token, messageId, updatedMessage }: EditMessagePayl
* @param data.objectId object id
* @param data.metaData JSON metadata of the rich object encoded as string
* @param data.referenceId generated reference id, leave empty to generate it based on the other args
* @param data.threadId thread id to retrieve data
* @param [options] Axios request options
*/
async function postRichObjectToConversation(token: string, { objectType, objectId, metaData, referenceId, threadId }: postRichObjectParams, options?: AxiosRequestConfig): postRichObjectResponse {

View file

@ -30,6 +30,7 @@ type updatePollDraftPayload = { token: string, pollId: number } & updatePollDraf
* @param payload.options The options participants can vote for
* @param payload.resultMode Result mode of the poll (0 - always visible | 1 - hidden until the poll is closed)
* @param payload.maxVotes Maximum amount of options a user can vote for (0 - unlimited | 1 - single answer)
* @param payload.threadId The thread id to create poll in
*/
async function createPoll({ token, question, options, resultMode, maxVotes, threadId }: createPollPayload): createPollResponse {
return axios.post(generateOcsUrl('apps/spreed/api/v1/poll/{token}', { token }), {