For more detail, run .
For a complete list of supported rules visit .
Files
To ignore whole file // deno-lint-ignore-file
directive should placed at the
top of the file:
Ignore directive must be placed before first statement or declaration:
/**
// deno-lint-ignore-file
import { bar } from “./bar.js”;
function foo(): any { // … }
Diagnostics
Starting with Deno v1.14 a linter can be customized using either a configuration file or following CLI flags:
- List of tag names that will be run. Empty list disables all tags and will only use rules from
include
. Defaults to “recommended”.--rules-exclude
- List of rule names that will be excluded from configured tag sets. If the same rule is in it will be run.