Bug 1801529 - Fix jsdocs and enable eslint-plugin-jsdoc for smime. rs=me

--HG--
extra : amend_source : b7a9924dc210e0b3bb2b310d7a52cb678c92e592
This commit is contained in:
Magnus Melin 2024-04-27 13:32:59 +03:00
Родитель 944ebe2b83
Коммит 7c890fae17
2 изменённых файлов: 11 добавлений и 2 удалений

Просмотреть файл

@ -0,0 +1,9 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
module.exports = {
extends: ["plugin:mozilla/valid-jsdoc"],
};

Просмотреть файл

@ -42,8 +42,8 @@ function setIgnoreStatusFromMimePart(mimePart) {
* for the message.
* @param {"ok"|"notok"|null} encryptedState - The encrypted state of the
* message.
* @param {"ok"|"notok"|"verified"|"unverified"|"unknown"|"mismatch"|null}
* signedState - The signed state of the message.
* @param {"ok"|"notok"|"verified"|"unverified"|"unknown"|"mismatch"|null} signedState -
The signed state of the message.
* @param {boolean} forceShow - Show the box if unsigned and unencrypted.
* @param {string} mimePartNumber - Should be set to the MIME part number
* that triggers this status update. If the value matches a currently