mirror of
https://github.com/rilaxik/fivem-rpc.git
synced 2026-09-28 01:29:13 +00:00
docs: TSdoc
This commit is contained in:
+10
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
||||
"plugins": ["eslint", "typescript", "unicorn", "oxc", "import"],
|
||||
"plugins": ["eslint", "typescript", "unicorn", "oxc", "import", "jsdoc"],
|
||||
"categories": {
|
||||
"correctness": "error",
|
||||
"suspicious": "warn"
|
||||
@@ -8,7 +8,15 @@
|
||||
"rules": {
|
||||
"typescript/no-explicit-any": "error",
|
||||
"typescript/no-unsafe-function-type": "error",
|
||||
"eslint/no-underscore-dangle": "off"
|
||||
"eslint/no-underscore-dangle": "off",
|
||||
"jsdoc/check-tag-names": [
|
||||
"error",
|
||||
{ "typed": true, "definedTags": ["defaultValue", "remarks", "typeParam"] }
|
||||
],
|
||||
"jsdoc/empty-tags": "error",
|
||||
"jsdoc/no-blank-blocks": "error",
|
||||
"jsdoc/require-param-description": "error",
|
||||
"jsdoc/require-param-name": "error"
|
||||
},
|
||||
"ignorePatterns": ["**/dist"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user