From ee37f3790c6a56906433f04b502620a4e6edcedd Mon Sep 17 00:00:00 2001 From: lucasrmendonca Date: Mon, 2 Sep 2024 17:28:03 -0300 Subject: [PATCH 1/3] fix: #49 Allow @jest-environment tag names in jsdoc config --- configurations/jsdoc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configurations/jsdoc.js b/configurations/jsdoc.js index a2ebeab..8377964 100644 --- a/configurations/jsdoc.js +++ b/configurations/jsdoc.js @@ -12,7 +12,7 @@ module.exports.recommended = { 'jsdoc/check-param-names': 2, 'jsdoc/check-property-names': 2, 'jsdoc/check-syntax': 2, - 'jsdoc/check-tag-names': 2, + 'jsdoc/check-tag-names': [2, { definedTags: ['jest-environment', 'jest-environment-options'] }], 'jsdoc/check-types': 2, 'jsdoc/check-values': 2, 'jsdoc/empty-tags': 2, From a5c13a5e39383d95b53d0d09ec9c5334ec31bba3 Mon Sep 17 00:00:00 2001 From: lucasrmendonca Date: Mon, 2 Sep 2024 17:32:45 -0300 Subject: [PATCH 2/3] fix: #49 Allow @jest-environment tag names for jsdoc config Fixes #49 --- configurations/jsdoc.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configurations/jsdoc.js b/configurations/jsdoc.js index 8377964..a332746 100644 --- a/configurations/jsdoc.js +++ b/configurations/jsdoc.js @@ -12,7 +12,15 @@ module.exports.recommended = { 'jsdoc/check-param-names': 2, 'jsdoc/check-property-names': 2, 'jsdoc/check-syntax': 2, - 'jsdoc/check-tag-names': [2, { definedTags: ['jest-environment', 'jest-environment-options'] }], + 'jsdoc/check-tag-names': [ + 2, + { + definedTags: [ + 'jest-environment', + 'jest-environment-options', + ], + }, + ], 'jsdoc/check-types': 2, 'jsdoc/check-values': 2, 'jsdoc/empty-tags': 2, From 5a7f4e67c9f1e1fe28bcf4c730dbbcbc5c8b1c1e Mon Sep 17 00:00:00 2001 From: lucasrmendonca Date: Mon, 2 Sep 2024 17:35:06 -0300 Subject: [PATCH 3/3] fix: #49 Allow @jest-environment tag names for jsdoc config Fixes #49 --- configurations/jsdoc.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configurations/jsdoc.js b/configurations/jsdoc.js index a332746..ddeab32 100644 --- a/configurations/jsdoc.js +++ b/configurations/jsdoc.js @@ -15,10 +15,7 @@ module.exports.recommended = { 'jsdoc/check-tag-names': [ 2, { - definedTags: [ - 'jest-environment', - 'jest-environment-options', - ], + definedTags: ['jest-environment', 'jest-environment-options'], }, ], 'jsdoc/check-types': 2,