Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

114 changes: 0 additions & 114 deletions .eslintrc.json

This file was deleted.

17 changes: 2 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,9 @@ jobs:
run: |
npm audit --audit-level=high

- name: Check code formatting (Prettier)
- name: Run linter and formatter (Biome)
run: |
npx prettier --check "src/**/*.ts"

- name: Cache ESLint
uses: actions/cache@v6
with:
path: .eslintcache
key: ${{ runner.os }}-eslint-${{ hashFiles('package-lock.json') }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-eslint-${{ hashFiles('package-lock.json') }}-
${{ runner.os }}-eslint-

- name: Run linter (ESLint)
run: |
npm run lint -- --cache --cache-location .eslintcache
npm run lint

- name: Verify TypeScript types
run: |
Expand Down
11 changes: 7 additions & 4 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"src/**/*.ts": [
"prettier --write",
"eslint --fix",
"biome check --write",
"cspell"
],
"src/**/*.{js,json,md}": [
"prettier --write",
"src/**/*.{js,json}": [
"biome check --write",
"cspell"
],
"src/**/*.md": [
"biome format --write",
"cspell"
]
}
44 changes: 44 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"$schema": "https://biomejs.dev/schemas/2.5.7/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"includes": [
"**",
"!dist",
"!coverage",
"!.stryker-tmp",
"!node_modules"
]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80
},
"linter": {
"enabled": true,
"rules": {
"preset": "recommended",
"suspicious": {
"noExplicitAny": "error"
},
"correctness": {
"noUnusedVariables": "warn"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"trailingCommas": "all",
"semicolons": "always",
"arrowParentheses": "always"
}
}
}
2 changes: 1 addition & 1 deletion build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import logger from "jet-logger";
// Remove current build
await remove("./dist/");
// Copy back-end files
await exec("tsc --build tsconfig.prod.json", "./");
await exec("tsc --build tsconfig.prod.json && npx tsc-alias -p tsconfig.prod.json", "./");
} catch (err) {
logger.err(err);
process.exit(1);
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"stryker",
"eslint",
"prettier",
"biome",
"vitest",
"taze",
"commitlint",
"lintstaged",
"dockerode",
Expand Down
51 changes: 0 additions & 51 deletions jest.config.ts

This file was deleted.

27 changes: 0 additions & 27 deletions jest.setup.ts

This file was deleted.

Loading
Loading