little quackquackL
Denoβ€’15mo ago
little quackquack

Config deno.json for Svelte formatting

In Supported file types, I see that Svelte need config option.
Here is my deno.json, is it true?
{
  "lint": {
    "include": ["src/"],
    "rules": {
      "tags": ["recommended"],
      "include": ["ban-untagged-todo"]
    }
  },
  "fmt": {
    "useTabs": false,
    "lineWidth": 100,
    "indentWidth": 2,
    "semiColons": true,
    "singleQuote": true,
    "proseWrap": "preserve",
    "include": ["src/"],
    "unstable":["svelte"]
  },
  "compilerOptions": {
    "allowJs": true,
    "checkJs": true,
    "strict": false,
    "noImplicitAny": false
  }
}
Was this page helpful?