chore: switch to biome instead of prettier

This commit is contained in:
PalmDevs 2024-02-08 23:15:47 +07:00
parent a573c3943f
commit 6558cb3521
No known key found for this signature in database
GPG key ID: ADC432EE981495A3
4 changed files with 15 additions and 8 deletions

View file

@ -1,8 +0,0 @@
{
"printWidth": 240,
"tabWidth": 4,
"singleQuote": false,
"jsxSingleQuote": false,
"bracketSpacing": true,
"useTabs": false
}

14
biome.json Normal file
View file

@ -0,0 +1,14 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"javascript": {
"formatter": {
"enabled": true,
"bracketSpacing": true,
"indentSize": 4,
"indentStyle": "space",
"jsxQuoteStyle": "double",
"lineWidth": 240,
"quoteStyle": "double"
}
}
}

BIN
bun.lockb

Binary file not shown.

View file

@ -14,6 +14,7 @@
"author": "Beef",
"license": "BSD-3-Clause",
"devDependencies": {
"@biomejs/biome": "^1.5.3",
"@react-native-clipboard/clipboard": "1.10.0",
"@swc/core": "1.3.50",
"@types/chroma-js": "^2.4.0",