From a947d5b3cff32104ee009113226feab45439dbdd Mon Sep 17 00:00:00 2001 From: Ivan Gabaldon Date: Sat, 28 Jun 2025 09:55:15 +0200 Subject: [mod] theme/simple: improve fmt/lint tech This is one of various PR to refactor the simple theme internally. Replace eslint tool with Biome. I have been using this for quite some time, and it will help us to have more consistent and valid code without extending on other third party plugins. Removes unused dependencies. --- client/simple/biome.json | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 client/simple/biome.json (limited to 'client/simple/biome.json') diff --git a/client/simple/biome.json b/client/simple/biome.json new file mode 100644 index 000000000..ebe7ee7dc --- /dev/null +++ b/client/simple/biome.json @@ -0,0 +1,44 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.0.6/schema.json", + "files": { + "includes": ["**", "!dist/**", "!node_modules/**"], + "ignoreUnknown": true + }, + "vcs": { + "clientKind": "git", + "enabled": false, + "useIgnoreFile": true + }, + "assist": { + "enabled": true, + "actions": { + "recommended": true + } + }, + "formatter": { + "bracketSameLine": false, + "bracketSpacing": true, + "enabled": true, + "formatWithErrors": false, + "indentStyle": "space", + "indentWidth": 2, + "lineEnding": "lf", + "lineWidth": 120 + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true + } + }, + "javascript": { + "formatter": { + "arrowParentheses": "always", + "jsxQuoteStyle": "double", + "quoteProperties": "asNeeded", + "quoteStyle": "double", + "semicolons": "always", + "trailingCommas": "none" + } + } +} -- cgit v1.2.3