Note: linter is a new feature and still unstable thus it requires flag

    • 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-dupe-args
    • no-dupe-else-if
    • no-duplicate-case
    • no-empty
    • 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-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
    • no-unused-labels
    • 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 .

    Ignore directives

    Files

    Ignore directive must be placed before first statement or declaration:

    Diagnostics

    To ignore certain diagnostic // deno-lint-ignore <codes...> directive should be placed before offending line. Specifying ignored rule name is required: