From 619a69e922e58bc1c68a8236287196526e5b1f44 Mon Sep 17 00:00:00 2001 From: Ultracite Date: Sun, 15 Feb 2026 06:03:16 +0000 Subject: [PATCH] fix: Fix lint issue with Claude Code Automatically fixed by Ultracite --- .changeset/config.json | 5 +++- .eslintrc.js => .eslintrc.cjs | 4 ++-- .vscode/settings.json | 2 +- biome.jsonc | 44 +++++++++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+), 4 deletions(-) rename .eslintrc.js => .eslintrc.cjs (55%) create mode 100644 biome.jsonc diff --git a/.changeset/config.json b/.changeset/config.json index 2c12f3a..6afa756 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -1,6 +1,9 @@ { "$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json", - "changelog": ["@changesets/changelog-github", { "repo": "hack-dance/assistants" }], + "changelog": [ + "@changesets/changelog-github", + { "repo": "hack-dance/assistants" } + ], "commit": false, "fixed": [], "linked": [], diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 55% rename from .eslintrc.js rename to .eslintrc.cjs index 99bce81..c8df607 100644 --- a/.eslintrc.js +++ b/.eslintrc.cjs @@ -1,4 +1,4 @@ module.exports = { root: true, - extends: ["custom"] -} + extends: ["custom"], +}; diff --git a/.vscode/settings.json b/.vscode/settings.json index 3a837b2..e95fec9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,7 +6,7 @@ "editor.formatOnPaste": false, "editor.trimAutoWhitespace": true, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true, + "source.fixAll.eslint": true }, "[html]": { "editor.defaultFormatter": "GitHub.copilot" diff --git a/biome.jsonc b/biome.jsonc new file mode 100644 index 0000000..69065ee --- /dev/null +++ b/biome.jsonc @@ -0,0 +1,44 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.3.15/schema.json", + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true + }, + "files": { + "ignoreUnknown": false, + "includes": ["**/*"] + }, + "formatter": { + "enabled": true, + "indentWidth": 2, + "indentStyle": "space", + "lineEnding": "lf", + "lineWidth": 80 + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true, + "suspicious": { + "noRedeclare": "error" + } + } + }, + "javascript": { + "formatter": { + "enabled": true, + "indentWidth": 2, + "indentStyle": "space" + }, + "linter": { + "enabled": true + } + }, + "json": { + "formatter": { + "enabled": true, + "indentWidth": 2 + } + } +}