diff options
| author | Petri Hienonen <petri.hienonen@gmail.com> | 2025-12-16 17:12:36 +0200 |
|---|---|---|
| committer | Petri Hienonen <petri.hienonen@gmail.com> | 2025-12-16 17:12:36 +0200 |
| commit | 0bdadb8f490dbc982954cda7f2c70eec365e05b8 (patch) | |
| tree | e1ac1cb56d5168118bd90418d7eae8457abf5a51 | |
| parent | 5183d09e910f0a50dcd4ba7a6b4984354135d30a (diff) | |
| download | housing-0bdadb8f490dbc982954cda7f2c70eec365e05b8.tar.zst | |
Biome as html formatter
| -rw-r--r-- | app/index.html | 66 | ||||
| -rw-r--r-- | biome.json | 8 | ||||
| -rw-r--r-- | flake.lock | 6 |
3 files changed, 44 insertions, 36 deletions
diff --git a/app/index.html b/app/index.html index 60730fa..41578eb 100644 --- a/app/index.html +++ b/app/index.html @@ -1,38 +1,38 @@ <!DOCTYPE html> <html lang="en"> - <head> - <meta charset="UTF-8"> - <meta - name="viewport" - content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" - /> - <link rel="icon" href="favicon.svg" type="image/svg+xml"> - <title>Search Engine - Helsinki</title> + <head> + <meta charset="UTF-8"> + <meta + name="viewport" + content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" + > + <link rel="icon" href="favicon.svg" type="image/svg+xml"> + <title>Search Engine - Helsinki</title> - <style> - @font-face { - font-family: "Roboto Mono"; - font-optical-sizing: auto; - font-style: normal; - font-weight: 100 700; - src: url("RobotoMono-VariableFont_wght.ttf") format("truetype"); - } - </style> + <style> + @font-face { + font-family: "Roboto Mono"; + font-optical-sizing: auto; + font-style: normal; + font-weight: 100 700; + src: url("RobotoMono-VariableFont_wght.ttf") format("truetype"); + } + </style> - <script type="importmap"> - { - "imports": { - "dom": "./dom.js", - "components": "./components.js", - "geom": "./geometry.js", - "map": "./map.js", - "models": "./models.js", - "svg": "./svg.js" - } - } - </script> - </head> - <body> - <script type="module" src="main.js"></script> - </body> + <script type="importmap"> + { + "imports": { + "components": "./components.js", + "dom": "./dom.js", + "geom": "./geometry.js", + "map": "./map.js", + "models": "./models.js", + "svg": "./svg.js" + } + } + </script> + </head> + <body> + <script type="module" src="main.js"></script> + </body> </html> @@ -19,6 +19,14 @@ "indentStyle": "tab", "lineWidth": 100 }, + "html": { + "experimentalFullSupportEnabled": true, + "formatter": { + "enabled": true, + "indentScriptAndStyle": true, + "whitespaceSensitivity": "ignore" + } + }, "linter": { "enabled": true, "rules": { @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1761656231, - "narHash": "sha256-EiED5k6gXTWoAIS8yQqi5mAX6ojnzpHwAQTS3ykeYMg=", + "lastModified": 1765772535, + "narHash": "sha256-aq+dQoaPONOSjtFIBnAXseDm9TUhIbe215TPmkfMYww=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e99366c665bdd53b7b500ccdc5226675cfc51f45", + "rev": "09b8fda8959d761445f12b55f380d90375a1d6bb", "type": "github" }, "original": { |
