From d42657ef13800e8c0a0859e4788ca250c1fb56a8 Mon Sep 17 00:00:00 2001 From: Elin Angelow Date: Wed, 29 Jan 2025 15:30:34 +0200 Subject: [PATCH] fix: biome --- biome.json | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 biome.json diff --git a/biome.json b/biome.json new file mode 100644 index 0000000..aebfea5 --- /dev/null +++ b/biome.json @@ -0,0 +1,42 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", + "vcs": { + "enabled": false, + "clientKind": "git", + "useIgnoreFile": false + }, + "files": { + "ignoreUnknown": false, + "ignore": [ + "dist/**/*", + "www/static/qrcodegen-v1.8.0-es5.js", + "www/static/pico.conditional.min.css" + ] + }, + "formatter": { + "lineWidth": 80, + "enabled": true, + "indentStyle": "space", + "indentWidth": 4 + }, + "organizeImports": { + "enabled": true + }, + "linter": { + "enabled": true, + "rules": { + "suspicious": { + "noExplicitAny": "off", + "noAssignInExpressions": "off" + }, + "recommended": true + } + }, + "javascript": { + "formatter": { + "quoteStyle": "single", + "bracketSpacing": false, + "trailingCommas": "none" + } + } +}