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
10 changes: 4 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ name: CI
on: [push]
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}

runs-on: ${{ matrix.os }}
name: Build, lint, and test on Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: ['18.x', '20.x', '22.x']
os: [ubuntu-latest, windows-latest, macOS-latest]
node: ['20.x', '22.x']

steps:
- name: Checkout repo
Expand All @@ -27,7 +25,7 @@ jobs:
run: npm run lint

- name: Test
run: npm test -- --ci --coverage --maxWorkers=2
run: npm test

- name: Build
run: npm run build
17 changes: 0 additions & 17 deletions .github/workflows/size.yml

This file was deleted.

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.3.5/schema.json",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The schema version 2.3.5 does not appear to be a valid published version for Biome, which can cause issues with schema validation in your IDE. This seems to correspond to the version in package.json, which is also not a valid version for @biomejs/biome. Please use a valid version for both the package and the schema URL. For example, the latest stable version is 1.8.3.

"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"includes": ["**", "!**/dist", "!**/node_modules", "!**/coverage"]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"useImportType": "off"
},
"correctness": {
"useExhaustiveDependencies": "warn"
},
"suspicious": {
"noAssignInExpressions": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingCommas": "es5",
"semicolons": "always",
"arrowParentheses": "asNeeded"
}
}
}
Loading