Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
chore: add json formatter config
Browse files Browse the repository at this point in the history
  • Loading branch information
PalmDevs authored and PalmDevs committed Mar 18, 2024
1 parent 3ed3503 commit 182915f
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 55 deletions.
98 changes: 53 additions & 45 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,55 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"files": {
"ignore": ["dist/**"]
},
"javascript": {
"formatter": {
"bracketSpacing": true,
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80,
"quoteStyle": "double",
"trailingComma": "none"
}
},
"linter": {
"rules": {
"complexity": {
"noForEach": "off"
},
"correctness": {
"noChildrenProp": "off"
},
"performance": {
"noDelete": "off"
},
"recommended": true,
"style": {
"noCommaOperator": "off",
"noNonNullAssertion": "off",
"noParameterAssign": "off"
},
"suspicious": {
"noAssignInExpressions": "off",
"noExplicitAny": "off"
},
"security": {
"noGlobalEval": "off"
}
}
},
"organizeImports": {
"enabled": true
}
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"files": {
"ignore": ["dist/**"]
},
"javascript": {
"formatter": {
"bracketSpacing": true,
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80,
"quoteStyle": "double",
"trailingComma": "none"
}
},
"linter": {
"rules": {
"complexity": {
"noForEach": "off"
},
"correctness": {
"noChildrenProp": "off"
},
"performance": {
"noDelete": "off"
},
"recommended": true,
"style": {
"noCommaOperator": "off",
"noNonNullAssertion": "off",
"noParameterAssign": "off"
},
"suspicious": {
"noAssignInExpressions": "off",
"noExplicitAny": "off"
},
"security": {
"noGlobalEval": "off"
}
}
},
"json": {
"formatter": {
"indentWidth": 2,
"indentStyle": "space",
"lineEnding": "lf",
"lineWidth": 80
}
},
"organizeImports": {
"enabled": true
}
}
Binary file added bun.lockb
Binary file not shown.
12 changes: 2 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@
"build-bun": "bun run build.mjs",
"format": "biome check --apply-unsafe src"
},
"keywords": [
"discord",
"android",
"ios",
"react native"
],
"keywords": ["discord", "android", "ios", "react native"],
"author": "maisymoe",
"license": "BSD-3-Clause",
"devDependencies": {
Expand All @@ -34,10 +29,7 @@
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"react",
"react-native"
]
"ignoreMissing": ["react", "react-native"]
}
}
}

0 comments on commit 182915f

Please sign in to comment.