diff options
author | Yusuke Tanaka <yusuktan@maguro.dev> | 2020-08-29 19:58:20 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-29 12:58:20 +0200 |
commit | 0d11f3504bcb35d371b63dc4d08f7e0748bff43a (patch) | |
tree | 0b4c849fbb52114203ee08a6da0c48b198a9d859 /docs/tools/linter.md | |
parent | 8ca903f6494ebe9eba4ff33a494e644b2d886053 (diff) |
fix(lint): use recommended rules set (#7222)
Diffstat (limited to 'docs/tools/linter.md')
-rw-r--r-- | docs/tools/linter.md | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/docs/tools/linter.md b/docs/tools/linter.md index 684da4a14..22931a1c4 100644 --- a/docs/tools/linter.md +++ b/docs/tools/linter.md @@ -14,7 +14,9 @@ deno lint --unstable myfile1.ts myfile2.ts ### Available rules +- `adjacent-overload-signatures` - `ban-ts-comment` +- `ban-types` - `ban-untagged-ignore` - `constructor-super` - `for-direction` @@ -25,30 +27,45 @@ deno lint --unstable myfile1.ts myfile2.ts - `no-class-assign` - `no-compare-neg-zero` - `no-cond-assign` +- `no-constant-condition` +- `no-control-regex` - `no-debugger` - `no-delete-var` - `no-dupe-args` +- `no-dupe-class-members` +- `no-dupe-else-if` - `no-dupe-keys` - `no-duplicate-case` +- `no-empty` - `no-empty-character-class` - `no-empty-interface` - `no-empty-pattern` -- `no-empty` - `no-ex-assign` - `no-explicit-any` +- `no-extra-boolean-cast` +- `no-extra-non-null-assertion` +- `no-extra-semi` - `no-func-assign` +- `no-inferrable-types` +- `no-invalid-regexp` +- `no-irregular-whitespace` - `no-misused-new` +- `no-mixed-spaces-and-tabs` - `no-namespace` - `no-new-symbol` - `no-obj-call` - `no-octal` - `no-prototype-builtins` - `no-regex-spaces` +- `no-self-assign` - `no-setter-return` +- `no-shadow-restricted-names` - `no-this-alias` - `no-this-before-super` +- `no-unexpected-multiline` - `no-unsafe-finally` - `no-unsafe-negation` +- `no-unused-labels` - `no-with` - `prefer-as-const` - `prefer-namespace-keyword` |