1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00

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

This commit is contained in:
Bartek Iwańczuk 2020-09-15 10:02:19 +02:00 committed by GitHub
parent f5c84920c2
commit 44343a8aee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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