diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2020-09-13 15:17:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-13 15:17:25 +0200 |
commit | f06724f2388180c1d73eb0cc989f3499d84eb879 (patch) | |
tree | e1b2df4c22cae0d739d03f8e86aae6fe237a6fec /docs/tools | |
parent | 755cfa98ebf4e3bd96e432d6a0b761aeb2e3c818 (diff) |
docs: manual updates for 1.4 features and changes (#7440)
Diffstat (limited to 'docs/tools')
-rw-r--r-- | docs/tools/documentation_generator.md | 8 | ||||
-rw-r--r-- | docs/tools/linter.md | 7 |
2 files changed, 9 insertions, 6 deletions
diff --git a/docs/tools/documentation_generator.md b/docs/tools/documentation_generator.md index 9971ed270..fa8b09c9c 100644 --- a/docs/tools/documentation_generator.md +++ b/docs/tools/documentation_generator.md @@ -1,9 +1,7 @@ ## Documentation Generator `deno doc` followed by a list of one or more source files will print the JSDoc -documentation for each of the module's **exported** members. Currently, only -exports in the style `export <declaration>` and `export ... from ...` are -supported. +documentation for each of the module's **exported** members. For example, given a file `add.ts` with the contents: @@ -29,5 +27,5 @@ function add(x: number, y: number): number Use the `--json` flag to output the documentation in JSON format. This JSON format is consumed by the -[deno doc website](https://github.com/denoland/doc_website) and used to generate -module documentation. +[deno doc website](https://github.com/denoland/doc_website) and is used to +generate module documentation. diff --git a/docs/tools/linter.md b/docs/tools/linter.md index f5af1543b..62174a600 100644 --- a/docs/tools/linter.md +++ b/docs/tools/linter.md @@ -51,9 +51,12 @@ For more detail, run `deno lint --help`. - `no-extra-boolean-cast` - `no-extra-non-null-assertion` - `no-extra-semi` +- `no-fallthrough` - `no-func-assign` -- `no-inner-declarations` +- `no-global-assign` +- `no-import-assign` - `no-inferrable-types` +- `no-inner-declarations` - `no-invalid-regexp` - `no-irregular-whitespace` - `no-misused-new` @@ -63,12 +66,14 @@ For more detail, run `deno lint --help`. - `no-obj-calls` - `no-octal` - `no-prototype-builtins` +- `no-redeclare` - `no-regex-spaces` - `no-self-assign` - `no-setter-return` - `no-shadow-restricted-names` - `no-this-alias` - `no-this-before-super` +- `no-undef` - `no-unreachable` - `no-unsafe-finally` - `no-unsafe-negation` |