chore: replace biome with prettier

Remove @biomejs/biome, set indent size to 4 and add VS Code format-on-save with the Prettier extension.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016GHq7GcQtB91bnq3832H76
This commit is contained in:
kamask
2026-10-21 21:01:44 +03:00
co-authored by Claude Sonnet 5.5
parent 5b9c6358ce
commit a65b1d051f
5 changed files with 47 additions and 139 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ root = true
[*] [*]
charset = utf-8 charset = utf-8
indent_style = space indent_style = space
indent_size = 2 indent_size = 4
insert_final_newline = true insert_final_newline = true
trim_trailing_whitespace = true trim_trailing_whitespace = true
+2 -2
View File
@@ -1,4 +1,4 @@
{ {
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
"recommendations": ["angular.ng-template"] "recommendations": ["angular.ng-template", "esbenp.prettier-vscode"]
} }
+4
View File
@@ -0,0 +1,4 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
+40 -41
View File
@@ -1,42 +1,41 @@
{ {
"name": "pchelpcrm", "name": "pchelpcrm",
"version": "0.0.0", "version": "0.0.0",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
"build": "ng build", "build": "ng build",
"watch": "ng build --watch --configuration development", "watch": "ng build --watch --configuration development",
"test": "ng test", "test": "ng test",
"serve:ssr:pchelpcrm": "node dist/pchelpcrm/server/server.mjs", "serve:ssr:pchelpcrm": "node dist/pchelpcrm/server/server.mjs",
"pb:serve": "pocketbase serve --dir pocketbase/pb_data --migrationsDir pocketbase/pb_migrations --dev", "pb:serve": "pocketbase serve --dir pocketbase/pb_data --migrationsDir pocketbase/pb_migrations --dev",
"pb:superuser": "node --env-file=.env scripts/pb-superuser.mjs", "pb:superuser": "node --env-file=.env scripts/pb-superuser.mjs",
"pb:migrate": "pocketbase migrate up --dir pocketbase/pb_data --migrationsDir pocketbase/pb_migrations" "pb:migrate": "pocketbase migrate up --dir pocketbase/pb_data --migrationsDir pocketbase/pb_migrations"
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/common": "^22.2.0", "@angular/common": "^22.2.0",
"@angular/compiler": "^22.2.0", "@angular/compiler": "^22.2.0",
"@angular/core": "^22.2.0", "@angular/core": "^22.2.0",
"@angular/forms": "^22.2.0", "@angular/forms": "^22.2.0",
"@angular/platform-browser": "^22.2.0", "@angular/platform-browser": "^22.2.0",
"@angular/platform-server": "^22.2.0", "@angular/platform-server": "^22.2.0",
"@angular/router": "^22.2.0", "@angular/router": "^22.2.0",
"@angular/ssr": "^22.2.3", "@angular/ssr": "^22.2.3",
"express": "^5.1.0", "express": "^5.1.0",
"pocketbase": "^0.28.1", "pocketbase": "^0.28.1",
"rxjs": "~7.8.0", "rxjs": "~7.8.0",
"tslib": "^2.3.0" "tslib": "^2.3.0"
}, },
"devDependencies": { "devDependencies": {
"@angular/build": "^22.2.3", "@angular/build": "^22.2.3",
"@angular/cli": "^22.2.3", "@angular/cli": "^22.2.3",
"@angular/compiler-cli": "^22.2.0", "@angular/compiler-cli": "^22.2.0",
"@biomejs/biome": "2.5.15", "@types/express": "^5.0.1",
"@types/express": "^5.0.1", "@types/node": "^22.12.0",
"@types/node": "^22.12.0", "jsdom": "^30.0.0",
"jsdom": "^30.0.0", "prettier": "^3.8.1",
"prettier": "^3.8.1", "typescript": "~6.0.2",
"typescript": "~6.0.2", "vitest": "^5.0.0"
"vitest": "^5.0.0" }
} }
}
-95
View File
@@ -54,9 +54,6 @@ importers:
'@angular/compiler-cli': '@angular/compiler-cli':
specifier: ^22.2.0 specifier: ^22.2.0
version: 22.2.3(@angular/compiler@22.2.3)(typescript@6.0.3) version: 22.2.3(@angular/compiler@22.2.3)(typescript@6.0.3)
'@biomejs/biome':
specifier: 2.5.15
version: 2.5.15
'@types/express': '@types/express':
specifier: ^5.0.1 specifier: ^5.0.1
version: 5.0.6 version: 5.0.6
@@ -311,63 +308,6 @@ packages:
resolution: {integrity: sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==} resolution: {integrity: sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==}
engines: {node: ^22.18.0 || >=24.11.0} engines: {node: ^22.18.0 || >=24.11.0}
'@biomejs/biome@2.5.15':
resolution: {integrity: sha512-WZTW4slm/pdkh92K6t/3aEN++44JD1PQ7squ7RCMLI1flHGl43DVOIGXvCjHiZgBMO1V4uYxoFNtqrIA4qGuIQ==}
engines: {node: '>=14.21.3'}
hasBin: true
'@biomejs/cli-darwin-arm64@2.5.15':
resolution: {integrity: sha512-BZVzFhJ/mUvTLMYbc9x6el0o2Uv5zP7bACYyhFb6fSc1giroXm7PL0a5KqMJ9F+/BnkYRjagD/ROSDVOZ6eapg==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [darwin]
'@biomejs/cli-darwin-x64@2.5.15':
resolution: {integrity: sha512-V5Kw63V+fVGNFhFrizDxMbGXAzZCh8kYzJpy3GI6gTapWDg7bZK9oYC9CbVgQSEdTnupz0U5Efz8Ev+5vdBBXw==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [darwin]
'@biomejs/cli-linux-arm64-musl@2.5.15':
resolution: {integrity: sha512-tGzZUTcJCV7tj5Adh/Gn6nR4MycqA3iohq2LEcrarAgRBkU0h0OKd2UzCRkOsOYOuUGaUJb4YmqRqyy2feGGSw==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
libc: [musl]
'@biomejs/cli-linux-arm64@2.5.15':
resolution: {integrity: sha512-XaG7P7eeSLYETD3K9grfB0mQmpLQZjygdbsxekWBJAg4am79fGAtRpfRyNnTvXB2fZFNnJZG3nXm7HBat0+VUw==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
libc: [glibc]
'@biomejs/cli-linux-x64-musl@2.5.15':
resolution: {integrity: sha512-IlxUcyxilVGPsE008x13pWdkTbU3nQpP2i9b5UrbOYj6goBkKsRX1XB7yJLcV+O1H9LBchIIm4adOaVLZBX0ZQ==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
libc: [musl]
'@biomejs/cli-linux-x64@2.5.15':
resolution: {integrity: sha512-xE4iEW/3LqlYj9GFgGrFsFSH51dEEpUbYWBfeOv0q87WkUDxK2o/HhreSb7qMJqck70RVM6Lg96hgedcAYcOkA==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
libc: [glibc]
'@biomejs/cli-win32-arm64@2.5.15':
resolution: {integrity: sha512-2kPKzhNlm8C+Ru3GcO0Me2ODkCBLrVOUNuyi84RJyWDVKAA4+Kjj3jMjL938lF6BRfvltC4vB2nPY9SvN51Ovg==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [win32]
'@biomejs/cli-win32-x64@2.5.15':
resolution: {integrity: sha512-yAzh4UqEImV6Hcy0zjUqNfJAsUhoD64FBQCdTG8Md/Z2wQeVP/ZmJ3XRYAs1g8J9fjTFyl2fCtc5FB5til47+g==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [win32]
'@bramus/specificity@2.4.3': '@bramus/specificity@2.4.3':
resolution: {integrity: sha512-0GEz8qJWokkUVYQYRukmkSHIFNoBH8QTreeHrAFbvz1XFYc3Y+puhMs8PQ5x8GNugiC2l5jvDBXKLbBIByeSBw==} resolution: {integrity: sha512-0GEz8qJWokkUVYQYRukmkSHIFNoBH8QTreeHrAFbvz1XFYc3Y+puhMs8PQ5x8GNugiC2l5jvDBXKLbBIByeSBw==}
hasBin: true hasBin: true
@@ -2825,41 +2765,6 @@ snapshots:
'@babel/helper-string-parser': 8.0.6 '@babel/helper-string-parser': 8.0.6
'@babel/helper-validator-identifier': 8.0.6 '@babel/helper-validator-identifier': 8.0.6
'@biomejs/biome@2.5.15':
optionalDependencies:
'@biomejs/cli-darwin-arm64': 2.5.15
'@biomejs/cli-darwin-x64': 2.5.15
'@biomejs/cli-linux-arm64': 2.5.15
'@biomejs/cli-linux-arm64-musl': 2.5.15
'@biomejs/cli-linux-x64': 2.5.15
'@biomejs/cli-linux-x64-musl': 2.5.15
'@biomejs/cli-win32-arm64': 2.5.15
'@biomejs/cli-win32-x64': 2.5.15
'@biomejs/cli-darwin-arm64@2.5.15':
optional: true
'@biomejs/cli-darwin-x64@2.5.15':
optional: true
'@biomejs/cli-linux-arm64-musl@2.5.15':
optional: true
'@biomejs/cli-linux-arm64@2.5.15':
optional: true
'@biomejs/cli-linux-x64-musl@2.5.15':
optional: true
'@biomejs/cli-linux-x64@2.5.15':
optional: true
'@biomejs/cli-win32-arm64@2.5.15':
optional: true
'@biomejs/cli-win32-x64@2.5.15':
optional: true
'@bramus/specificity@2.4.3': '@bramus/specificity@2.4.3':
dependencies: dependencies:
css-tree: 3.2.1 css-tree: 3.2.1