mirror of
https://github.com/google/blockly.git
synced 2025-12-16 06:10:12 +01:00
chore: Fix documentation generation warnings. (#9325)
* chore: Replace @yields with @returns. * fix: Update the ESLint config to not require @yields. * chore: Move docs onto getters.
This commit is contained in:
@@ -89,7 +89,8 @@ function buildTSOverride({files, tsconfig}) {
|
||||
'@typescript-eslint/no-explicit-any': ['off'],
|
||||
// We use this pattern extensively for block (e.g. controls_if) interfaces.
|
||||
'@typescript-eslint/no-empty-object-type': ['off'],
|
||||
|
||||
// TSDoc doesn't support @yields, so don't require that we use it.
|
||||
'jsdoc/require-yields': ['off'],
|
||||
// params and returns docs are optional.
|
||||
'jsdoc/require-param-description': ['off'],
|
||||
'jsdoc/require-returns': ['off'],
|
||||
|
||||
Reference in New Issue
Block a user