add new formatter configuration

pyrox.dev 2f899aa8 1e28d4df

verified
Changed files
+24 -1
.zed
+10
.zed/tasks.json
···
"reveal_target": "dock",
"hide": "on_success",
"shell": "system"
+
},
+
{
+
"label": "start formatter",
+
"command": "deno fmt --watch",
+
"use_new_terminal": true,
+
"allow_concurrent_runs": false,
+
"reveal": "never",
+
"reveal_target": "dock",
+
"hide": "on_success",
+
"shell": "system"
}
]
+14 -1
deno.json
···
"compilerOptions": {
"types": ["lume/types.ts"]
},
-
"nodeModulesDir": "auto"
+
"nodeModulesDir": "auto",
+
"fmt": {
+
"useTabs": false,
+
"lineWidth": 100,
+
"proseWrap": "always",
+
"indentWidth": 2,
+
"semiColons": true,
+
"singleQuote": false,
+
"exclude": [
+
"scripts/*/src/",
+
"src/static/icons/*.css",
+
"src/static/styles.css"
+
]
+
}
}