summaryrefslogtreecommitdiff
path: root/biome.jsonc
diff options
context:
space:
mode:
authorBertrand Yuan <bert.yuan@outlook.com>2025-12-15 23:48:10 +0800
committerBertrand Yuan <bert.yuan@outlook.com>2025-12-15 23:48:10 +0800
commit5b7ccf0b671e2999b62befc729a3e517a0433728 (patch)
tree8bf476dc7c75914c221042546840dc76267366df /biome.jsonc
initial commit -- the front-end prototype
The initial code is base on Anirudh's work. More to see at: https://github.com/techwithanirudh/shadcn-blog Therefore, the code in this commit is under MIT license.
Diffstat (limited to 'biome.jsonc')
-rw-r--r--biome.jsonc46
1 files changed, 46 insertions, 0 deletions
diff --git a/biome.jsonc b/biome.jsonc
new file mode 100644
index 0000000..fe6b324
--- /dev/null
+++ b/biome.jsonc
@@ -0,0 +1,46 @@
+{
+ "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
+ "organizeImports": {
+ "enabled": true
+ },
+ "vcs": {
+ "enabled": true,
+ "clientKind": "git",
+ "useIgnoreFile": true
+ },
+ "files": {
+ "ignore": ["node_modules", ".next", ".source"]
+ },
+ "formatter": {
+ "enabled": true,
+ "formatWithErrors": true,
+ "indentStyle": "space",
+ "indentWidth": 2
+ },
+ "javascript": {
+ "formatter": {
+ "enabled": true,
+ "quoteStyle": "single",
+ "jsxQuoteStyle": "single",
+ "semicolons": "always"
+ }
+ },
+ "linter": {
+ "enabled": true,
+ "rules": {
+ "nursery": {
+ "useSortedClasses": {
+ "level": "warn",
+ "fix": "safe",
+ "options": {
+ "functions": ["clsx", "cva", "cn"]
+ }
+ }
+ },
+ "correctness": {
+ "noUnusedImports": "error"
+ },
+ "recommended": true
+ }
+ }
+}