summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/getting_started/command_line_interface.md5
-rw-r--r--docs/testing.md6
-rw-r--r--docs/tools/compiler.md9
-rw-r--r--docs/tools/linter.md11
4 files changed, 11 insertions, 20 deletions
diff --git a/docs/getting_started/command_line_interface.md b/docs/getting_started/command_line_interface.md
index b595f132c..617278579 100644
--- a/docs/getting_started/command_line_interface.md
+++ b/docs/getting_started/command_line_interface.md
@@ -94,11 +94,8 @@ watcher. When Deno starts up with this flag it watches the entrypoint, and all
local files the entrypoint statically imports. Whenever one of these files is
changed on disk, the program will automatically be restarted.
-**Note: file watcher is a new feature and still unstable thus it requires
-`--unstable` flag**
-
```
-deno run --watch --unstable main.ts
+deno run --watch main.ts
```
### Integrity flags
diff --git a/docs/testing.md b/docs/testing.md
index 80af1a810..085e2d093 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -254,13 +254,13 @@ formats by the `deno coverage` tool.
git clone https://github.com/oakserver/oak && cd oak
# Collect your coverage profile with deno test --coverage=<output_directory>
-deno test --coverage=cov_profile --unstable
+deno test --coverage=cov_profile
# From this you can get a pretty printed diff of uncovered lines
-deno coverage --unstable cov_profile
+deno coverage cov_profile
# Or generate an lcov report
-deno coverage --unstable cov_profile --lcov > cov_profile.lcov
+deno coverage cov_profile --lcov > cov_profile.lcov
# Which can then be further processed by tools like genhtml
genhtml -o cov_profile/html cov_profile.lcov
diff --git a/docs/tools/compiler.md b/docs/tools/compiler.md
index 7d47aecfb..3c82894c4 100644
--- a/docs/tools/compiler.md
+++ b/docs/tools/compiler.md
@@ -1,13 +1,10 @@
## Compiling Executables
-> Since the compile functionality is relatively new, the `--unstable` flag has
-> to be set in order for the command to work.
-
`deno compile [--output <OUT>] <SRC>` will compile the script into a
self-contained executable.
```
-> deno compile --unstable https://deno.land/std/examples/welcome.ts
+> deno compile https://deno.land/std/examples/welcome.ts
```
If you omit the `OUT` parameter, the name of the executable file will be
@@ -20,14 +17,14 @@ execute the script must be specified at compilation time. This includes
permission flags.
```
-> deno compile --unstable --allow-read --allow-net https://deno.land/std/http/file_server.ts
+> deno compile --allow-read --allow-net https://deno.land/std/http/file_server.ts
```
[Script arguments](../getting_started/command_line_interface.md#script-arguments)
can be partially embedded.
```
-> deno compile --unstable --allow-read --allow-net https://deno.land/std/http/file_server.ts -p 8080
+> deno compile --allow-read --allow-net https://deno.land/std/http/file_server.ts -p 8080
> ./file_server --help
```
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`.