Skip to main content

List of rules

These lint rules are provided by the deno lint command. You can enable sets of rules in deno.json(c) by adding their tags (e.g. recommended, react) to the lint.rules.tags array.

If no tag is provided, then the recommended set of rules will be enabled by default.

To turn a rule off, add it to lint.rules.exclude in deno.json, or suppress a single diagnostic in your code with a deno-lint-ignore comment.

Did you find what you needed?

编辑此页面
Privacy policy