diff --git a/flows/biome.json b/flows/biome.json new file mode 100644 index 0000000..d80ab79 --- /dev/null +++ b/flows/biome.json @@ -0,0 +1,46 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", + "organizeImports": { + "enabled": true + }, + "linter": { + "rules": { + "recommended": true, + "style": { + "noImplicitBoolean": "warn" + }, + "correctness": { + "useExhaustiveDependencies": "off", + "noUnusedImports": "error" + } + } + }, + "json": { + "parser": { + "allowComments": true, + "allowTrailingCommas": true + }, + "formatter": { + "indentStyle": "space", + "indentWidth": 2, + "lineWidth": 100 + } + }, + "formatter": { + "formatWithErrors": true, + "indentStyle": "space", + "indentWidth": 2, + "lineWidth": 100 + }, + "javascript": { + "formatter": { + "quoteProperties": "preserve", + "quoteStyle": "single", + "jsxQuoteStyle": "single", + "trailingCommas": "none", + "indentStyle": "space", + "indentWidth": 2, + "lineWidth": 100 + } + } +} diff --git a/functions/biome.json b/functions/biome.json new file mode 100644 index 0000000..d80ab79 --- /dev/null +++ b/functions/biome.json @@ -0,0 +1,46 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", + "organizeImports": { + "enabled": true + }, + "linter": { + "rules": { + "recommended": true, + "style": { + "noImplicitBoolean": "warn" + }, + "correctness": { + "useExhaustiveDependencies": "off", + "noUnusedImports": "error" + } + } + }, + "json": { + "parser": { + "allowComments": true, + "allowTrailingCommas": true + }, + "formatter": { + "indentStyle": "space", + "indentWidth": 2, + "lineWidth": 100 + } + }, + "formatter": { + "formatWithErrors": true, + "indentStyle": "space", + "indentWidth": 2, + "lineWidth": 100 + }, + "javascript": { + "formatter": { + "quoteProperties": "preserve", + "quoteStyle": "single", + "jsxQuoteStyle": "single", + "trailingCommas": "none", + "indentStyle": "space", + "indentWidth": 2, + "lineWidth": 100 + } + } +}