import type { DummyRuleMap } from "oxlint"; const jsDocRules: DummyRuleMap = { "jsdoc/check-access": "warn", "jsdoc/check-property-names": "warn", "jsdoc/check-tag-names": [ "warn", { definedTags: ["link"], typed: true, }, ], "jsdoc/empty-tags": "warn", "jsdoc/implements-on-classes": "warn", "jsdoc/no-defaults": ["warn", { noOptionalParamNames: true }], "jsdoc/require-param": [ "warn", { checkConstructors: true, checkDestructured: true, checkDestructuredRoots: true, checkGetters: true, checkRestProperty: true, checkSetters: true, }, ], "jsdoc/require-param-description": "warn", "jsdoc/require-param-name": "warn", // Pris en charge par les annotations de type TypeScript. "jsdoc/require-param-type": "allow", "jsdoc/require-property": "warn", "jsdoc/require-property-description": "warn", "jsdoc/require-property-name": "warn", // Pris en charge par les annotations de type TypeScript. "jsdoc/require-property-type": "allow", "jsdoc/require-returns": [ "warn", { checkConstructors: true, checkGetters: true, forceRequireReturn: true, forceReturnsWithAsync: true, }, ], "jsdoc/require-returns-description": "warn", "jsdoc/require-returns-type": "warn", "jsdoc/require-yields": [ "warn", { forceRequireYields: false, withGeneratorTag: false, }, ], }; export default jsDocRules;