From 0d11f3504bcb35d371b63dc4d08f7e0748bff43a Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Sat, 29 Aug 2020 19:58:20 +0900 Subject: fix(lint): use recommended rules set (#7222) --- docs/tools/linter.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'docs/tools/linter.md') 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` -- cgit v1.2.3