2026-04-06

- eslint OK
- import OK
- jsdoc OK
- node OK
- oxc OK
- promise OK
- typescript OK
- unicorn en cours
This commit is contained in:
gcch 2026-04-03 23:57:57 +02:00
commit 520b3e6cd4
22 changed files with 3091 additions and 1600 deletions

View file

@ -7,20 +7,50 @@ const jsDocRules: DummyRuleMap = {
"warn",
{
definedTags: ["link"],
typed: true,
},
],
"jsdoc/empty-tags": "warn",
"jsdoc/implements-on-classes": "warn",
"jsdoc/no-defaults": "warn",
"jsdoc/require-param": "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",
"jsdoc/require-returns": "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-yields": "warn",
"jsdoc/require-returns-type": "allow",
"jsdoc/require-yields": [
"warn",
{
forceRequireYields: false,
withGeneratorTag: false,
},
],
};
export default jsDocRules;