Skip to content

Commit

Permalink
Add Biome
Browse files Browse the repository at this point in the history
  • Loading branch information
GODrums committed Sep 7, 2024
1 parent 0df5dab commit 3ed303a
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 6 deletions.
35 changes: 35 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "tab",
"indentWidth": 4,
"lineEnding": "lf",
"lineWidth": 200,
"attributePosition": "auto"
},
"organizeImports": { "enabled": true },
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "off"
},
"style": {
"noParameterAssign": "off",
"noArguments": "off"
}
},
"ignore": ["**/*.svelte"]
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "single",
"trailingCommas": "es5",
"semicolons": "always",
"quoteStyle": "single"
}
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"submit:dry": "wxt submit --dry-run"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@tailwindcss/typography": "^0.5.13",
"@tsconfig/svelte": "^5.0.4",
Expand Down
104 changes: 98 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3ed303a

Please sign in to comment.