summaryrefslogtreecommitdiff
path: root/docs/tools/linter.md
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-04-27 12:44:36 +0200
committerGitHub <noreply@github.com>2021-04-27 12:44:36 +0200
commitbaf7092ea2ac97bee93213ddf639bb9b41f0888e (patch)
treea89f9794f4e1fcb0cd8eae9d1e8058d90668a8f4 /docs/tools/linter.md
parent83770e898e365579dcc30650f706116a312bd9f6 (diff)
remove --unstable flag from CLI features (#10190)
Diffstat (limited to 'docs/tools/linter.md')
-rw-r--r--docs/tools/linter.md11
1 files changed, 4 insertions, 7 deletions
diff --git a/docs/tools/linter.md b/docs/tools/linter.md
index 4e432034b..04aae2483 100644
--- a/docs/tools/linter.md
+++ b/docs/tools/linter.md
@@ -2,18 +2,15 @@
Deno ships with a built in code linter for JavaScript and TypeScript.
-**Note: linter is a new feature and still unstable thus it requires `--unstable`
-flag**
-
```shell
# lint all JS/TS files in the current directory and subdirectories
-deno lint --unstable
+deno lint
# lint specific files
-deno lint --unstable myfile1.ts myfile2.ts
+deno lint myfile1.ts myfile2.ts
# print result as JSON
-deno lint --unstable --json
+deno lint --json
# read from stdin
-cat file.ts | deno lint --unstable -
+cat file.ts | deno lint -
```
For more detail, run `deno lint --help`.