For more detail, run .
adjacent-overload-signatures
ban-ts-comment
ban-types
ban-untagged-ignore
camelcase
constructor-super
for-direction
getter-return
no-array-constructor
no-async-promise-executor
no-case-declarations
no-class-assign
no-compare-neg-zero
no-cond-assign
no-constant-condition
no-control-regex
no-debugger
no-delete-var
no-deprecated-deno-api
no-dupe-class-members
no-dupe-else-if
no-dupe-keys
no-duplicate-case
no-empty-character-class
no-empty-interface
no-empty-pattern
no-ex-assign
no-explicit-any
no-extra-boolean-cast
no-extra-non-null-assertion
no-extra-semi
no-fallthrough
no-func-assign
no-global-assign
no-import-assign
no-inferrable-types
no-inner-declarations
no-invalid-regexp
no-irregular-whitespace
no-misused-new
no-mixed-spaces-and-tabs
no-namespace
no-obj-calls
no-octal
no-prototype-builtins
no-redeclare
no-self-assign
no-setter-return
no-shadow-restricted-names
no-this-alias
no-this-before-super
no-unreachable
no-unsafe-finally
no-unsafe-negation
no-unused-labels
no-unused-vars
no-with
prefer-as-const
prefer-const
prefer-namespace-keyword
require-await
require-yield
use-isnan
valid-typeof
For more detail about each rule, visit .
Files
Ignore directive must be placed before first statement or declaration:
You can also ignore certain diagnostics in the whole file
Diagnostics
Starting with Deno v1.14 a linter can be customized using either a configuration file or following CLI flags:
--rules-tags
- List of tag names that will be run. Empty list disables all tags and will only use rules frominclude
. Defaults to “recommended”.- List of rule names that will be run. Even if the same rule is in
exclude
it will be run.