Skip to content

Commit

Permalink
accept jsdoc defaults in eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
scripthunter7 committed Sep 11, 2024
1 parent 6660562 commit d17a55b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ module.exports = {
'jsdoc/require-param-description': 0,
'jsdoc/require-returns': 'off',
'jsdoc/require-returns-description': 0,
'jsdoc/no-defaults': 0,
},
overrides: [
{
Expand Down
6 changes: 3 additions & 3 deletions tests/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const evalWrapper = eval;
*
* @param {string} name scriptlet name
* @param {Array|undefined} args array of scriptlet args
* @param {boolean} [verbose]
* @param {boolean} [verbose=true]
*/
export const runScriptlet = (name, args, verbose = true) => {
const params = {
Expand All @@ -51,7 +51,7 @@ export const runScriptlet = (name, args, verbose = true) => {
* Runs redirect
*
* @param {string} name redirect name
* @param {boolean} [verbose]
* @param {boolean} [verbose=true]
*/
export const runRedirect = (name, verbose = true) => {
const params = {
Expand Down Expand Up @@ -93,7 +93,7 @@ export const createSelectorsString = (clickOrder) => {
* Creates a clickable checkbox element with a unique ID and an onClick assertion.
*
* @param {number} elementNum - The number for this element.
* @param {string} [text] - Optional text content for the checkbox.
* @param {string} [text=''] - Optional text content for the checkbox.
* @returns {HTMLInputElement} The created checkbox element.
*/
export const createClickable = (elementNum, text = '') => {
Expand Down

0 comments on commit d17a55b

Please sign in to comment.