-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Server: Biome config files * Server: Formar Using Biome * Server: Lint using Biome + remove eslint * Server: Sort Imports * CI: Server: Use Biome * Server: Update Yarn.lock * Server: Fix 'type'-only imports
- Loading branch information
1 parent
f5b80e1
commit 0a42fd6
Showing
188 changed files
with
1,909 additions
and
2,997 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", | ||
"vcs": { | ||
"enabled": false, | ||
"clientKind": "git", | ||
"useIgnoreFile": true, | ||
"defaultBranch": "main" | ||
}, | ||
"files": { | ||
"ignore": ["**/.yarn/**", "**/dist/**", "**/package.json"] | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"indentStyle": "tab", | ||
"indentWidth": 4 | ||
}, | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true, | ||
"style": { | ||
"noParameterAssign": "off" | ||
}, | ||
"performance": { | ||
"noAccumulatingSpread": "off" | ||
}, | ||
"complexity": { | ||
"noBannedTypes": "off" | ||
}, | ||
"suspicious": { | ||
"noExplicitAny": "off", | ||
"noConsole": "error" | ||
}, | ||
"correctness": { | ||
"noUnusedImports": "warn" | ||
} | ||
} | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"quoteStyle": "double" | ||
}, | ||
"parser": { | ||
"unsafeParameterDecoratorsEnabled": true | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"extends": ["../biome.json"], | ||
"formatter": { | ||
"lineWidth": 80, | ||
"ignore": ["src/prisma/models/**"] | ||
}, | ||
"linter": { | ||
"rules": { | ||
"style": { | ||
"useEnumInitializers": "off", | ||
"noNonNullAssertion": "off", | ||
"useImportType": "off" | ||
}, | ||
"nursery": { | ||
"noRestrictedImports": { | ||
"options": { | ||
"paths": { | ||
"fluent-ffmpeg": "Use Ffmpeg Service", | ||
"fs": "Use FileManager Service", | ||
"node:fs": "Use FileManager Service", | ||
"src/pagination/paginated-response.decorator": "Do not use the decorator directly. Use 'Response' decorator from 'src/response/response.decorator.ts'", | ||
"src/pagination/models/paginated-response": "Do not use the class directly. Use 'Response' decorator from 'src/response/response.decorator.ts'" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.