未验证 提交 44343a8a 编写于 作者: B Bartek Iwańczuk 提交者: GitHub

docs(lint): ignore diagnostic in whole file (#7489)

上级 f5c84920
......@@ -119,6 +119,16 @@ function foo(): any {
}
```
You can also ignore certain diagnostics in the whole file
```ts
// deno-lint-ignore-file no-explicit-any no-empty
function foo(): any {
// ...
}
```
#### Diagnostics
To ignore certain diagnostic `// deno-lint-ignore <codes...>` directive should
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册