简体   繁体   English

TSDoc eslint-plugin-tsdoc 忽略特定文件

[英]TSDoc eslint-plugin-tsdoc ignore specific files

I have just started using TSDoc combined with TypeDoc and I love it.我刚刚开始将 TSDoc 与 TypeDoc 结合使用,我喜欢它。

I have a little problem, well, annoyance really.我有一个小问题,嗯,真的很烦。 I want the eslint-plugin-tsdoc to ignore files that will be used to generate the api documentation, which I will be using apidocjs.com to generate for me.我希望eslint-plugin-tsdoc忽略将用于生成 api 文档的文件,我将使用apidocjs.com为我生成该文档。

In PhpStorm and command line I get warnings for these files, I would like to be able to ignore these.PhpStormcommand line中,我收到这些文件的警告,我希望能够忽略这些。 I have not seen any settings to allow for this.我没有看到任何允许这样做的设置。

I have excluded the api tags via typedoc.json config file, but this doesn't work for the eslint plugin, which makes sense as they are different.我已经通过typedoc.json配置文件排除了 api 标签,但这不适用于 eslint 插件,因为它们是不同的。

Is there a setting for this?有这个设置吗?

Thanks to another question I asked, but similar we have a resolution for this question感谢我问的另一个问题,但类似地,我们对这个问题有一个解决方案

see https://stackoverflow.com/a/66134916/9431766https://stackoverflow.com/a/66134916/9431766

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从 tsdoc / typedoc 中正确排除测试文件 - How to properly exclude test files from tsdoc / typedoc tsdoc-param-tag-with-invalid-name:@param 块后面应该跟一个有效的参数名称(TypeScript ESLint 和 React) - tsdoc-param-tag-with-invalid-name: The @param block should be followed by a valid parameter name (TypeScript ESLint and React) 忽略来自特定 eslint 插件的特定文件 - Ignore specific file from specific eslint plugin JSDoc / TSDoc中是否有一种方法可以链接到代码片段? - Is there a way in JSDoc/TSDoc to make links to code pieces? 在 TSDoc 中键入 React 道具的正确格式是什么? - What is the proper format for typing React props in TSDoc? 如何在 object 属性中转发 TSDoc 描述 - How to forward a TSDoc description within an object property 如何在 typescript TSDoc 中描述 function 的 object 属性参数? - How to describe object properties parameters for a function in typescript TSDoc? Monaco Editor (TypeScript):用更多按钮/链接/动作装饰 JSDoc 或 TSDoc - Monaco Editor (TypeScript): Decorate JSDoc or TSDoc with further buttons/links/actions 如何将嵌套参数添加到 tsdoc 文档 - How do you add nested params to tsdoc documentation 如何为具有扩展接口的泛型类型的函数参数做 TypeScript tsdoc 文档? - How to do TypeScript tsdoc documentation for function argument with generic type that extends an interface?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM