summaryrefslogtreecommitdiff
path: root/docs/tools/linter.md
diff options
context:
space:
mode:
authortokiedokie <thetokiedokie@gmail.com>2020-08-18 01:17:57 +0900
committerGitHub <noreply@github.com>2020-08-17 12:17:57 -0400
commit68e1ba07d3d6716ff651fe6d379b46fb61253a1d (patch)
treeffc1c992fac9bb07939f7b7b6377e99e63823a5d /docs/tools/linter.md
parent684eddcc6bf0c1446c9aba0cdf001c661c19ab24 (diff)
typos (#7082)
Diffstat (limited to 'docs/tools/linter.md')
-rw-r--r--docs/tools/linter.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tools/linter.md b/docs/tools/linter.md
index fa8e4dd48..684da4a14 100644
--- a/docs/tools/linter.md
+++ b/docs/tools/linter.md
@@ -62,7 +62,7 @@ deno lint --unstable myfile1.ts myfile2.ts
#### Files
To ignore whole file `// deno-lint-ignore-file` directive should placed at the
-top of the file.
+top of the file:
```ts
// deno-lint-ignore-file
@@ -93,7 +93,7 @@ function foo(): any {
#### Diagnostics
To ignore certain diagnostic `// deno-lint-ignore <codes...>` directive should
-be placed before offending line. Specifying ignored rule name is required.
+be placed before offending line. Specifying ignored rule name is required:
```ts
// deno-lint-ignore no-explicit-any
@@ -109,7 +109,7 @@ function bar(a: any) {
To provide some compatibility with ESLint `deno lint` also supports
`// eslint-ignore-next-line` directive. Just like with `// deno-lint-ignore`,
-it's required to specify the ignored rule name.
+it's required to specify the ignored rule name:
```ts
// eslint-ignore-next-line no-empty