We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68e6ae8 commit 4fbe4b0Copy full SHA for 4fbe4b0
configs/typescript.js
@@ -82,8 +82,13 @@ async function getTypescriptJSDocRecommendedConfig() {
82
// typescript does it
83
// "jsdoc/check-syntax": "error",
84
85
- // From recommended
86
- // "jsdoc/check-tag-names": "error",
+ // Avoid conflict with jest special comment
+ "jsdoc/check-tag-names": [
87
+ "error",
88
+ {
89
+ definedTags: ["jest-environment"],
90
+ },
91
+ ],
92
93
// No need
94
// "jsdoc/check-template-names": "error",
validation/code.test.js
@@ -1,3 +1,7 @@
1
+/**
2
+ * @jest-environment jsdom
3
+ */
4
+
5
describe("name", () => {
6
it("test #1", () => {
7
const data = { type: "coords", x: 1, y: 2 };
0 commit comments