Skip to content

Commit

Permalink
style: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
mezotv committed Oct 4, 2024
1 parent 735bbea commit 290bdac
Show file tree
Hide file tree
Showing 169 changed files with 33,556 additions and 42,042 deletions.
3 changes: 0 additions & 3 deletions .prettierrc

This file was deleted.

6 changes: 3 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
43 changes: 43 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
"files": {
"ignore": [".vscode/launch.json"],
"ignoreUnknown": true
},
"formatter": {
"lineWidth": 120
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedImports": "error"
},
"style": {
"noCommaOperator": "off",
"noNamespace": "error",
"noNegationElse": "error",
"noNonNullAssertion": "off",
"useCollapsedElseIf": "error",
"useShorthandArrayType": "error",
"useShorthandAssign": "error"
},
"suspicious": {
"noApproximativeNumericConstant": "error",
"noConstEnum": "off",
"noExplicitAny": "off",
"noMisrefactoredShorthandAssign": "error"
}
}
},
"organizeImports": {
"enabled": true
},
"vcs": {
"clientKind": "git",
"defaultBranch": "main",
"enabled": true,
"useIgnoreFile": true
}
}
Loading

0 comments on commit 290bdac

Please sign in to comment.