Skip to content

Commit

Permalink
trying to fix biome error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dozie2001 committed Nov 26, 2024
1 parent 1f9cff6 commit 10f8628
Show file tree
Hide file tree
Showing 4 changed files with 1,567 additions and 2,507 deletions.
32 changes: 32 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false },
"files": { "ignoreUnknown": false, "ignore": [] },
"formatter": {
"enabled": true,
"useEditorconfig": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 120,
"attributePosition": "auto",
"bracketSpacing": true,
"ignore": ["**/.next", "**/.yarn", "public/assets"]
},
"organizeImports": { "enabled": true },
"linter": { "enabled": true, "rules": { "recommended": true } },
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "all",
"semicolons": "asNeeded",
"arrowParentheses": "always",
"bracketSameLine": false,
"quoteStyle": "single",
"attributePosition": "auto",
"bracketSpacing": true
}
}
}
30 changes: 0 additions & 30 deletions biome.jsonc

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"start": "next start",
"analyze": "ANALYZE=true yarn build",
"lint:checksums": "tsx scripts/lint-checksums.ts && git rm -r --cached -q data && git add --all data",
"lint": "prettier --write .",
"lint": "npx @biomejs/biome lint --write .",
"postinstall": "husky install",
"translations:update": "localazy upload && localazy download && yarn lint",
"translations:update:md": "localazy upload -k localazy.content.keys.json -c localazy.content.json && localazy download -k localazy.content.keys.json -c localazy.content.json && tsx scripts/remove-untranslated-markdown-files.ts",
Expand Down
Loading

0 comments on commit 10f8628

Please sign in to comment.