herenicknameH
Denoβ€’3y agoβ€’
8 replies
herenickname

Linter does not warn about lack of constructor arguments.

The vscode shows that there are no arguments, but linter does not show it as an error:
root@instance-1:~/main# deno lint src/test.ts
Checked 1 file

and nothing else...

deno.jsonc:
{
    "imports": {
        "@core/": "../core/src/",
        "std/": "https://deno.land/std@0.205.0/"
    },

    "lint": {
        "include": ["src/"],
        "exclude": ["src/testdata/", "data/fixtures/**/*.ts"],
        "rules": {
            "tags": ["recommended"],
            "include": ["ban-untagged-todo", "no-console"],
            "exclude": ["no-unused-vars"]
        }
    }
}


Help me to make a correct deno.jsonc config. Thanks!
image.png
Was this page helpful?