Skip to content

Commit

Permalink
Switch to toadstack (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
kibertoad authored Feb 6, 2024
1 parent 0b35068 commit 44b6923
Show file tree
Hide file tree
Showing 14 changed files with 148 additions and 200 deletions.
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

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

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x, 21.x]

steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand Down
3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

9 changes: 0 additions & 9 deletions .prettierrc.json

This file was deleted.

27 changes: 27 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"javascript": {
"formatter": {
"arrowParentheses": "always",
"indentStyle": "space",
"semicolons": "asNeeded",
"trailingComma": "all",
"lineWidth": 100,
"quoteStyle": "single"
}
},
"linter": {
"rules": {
"style": {
"noNonNullAssertion": "off"
},
"correctness": {},
"suspicious": {
"noExplicitAny": "off"
},
"complexity": {
"useOptionalChain": "off"
}
}
}
}
22 changes: 7 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,17 @@
"build:release": "del-cli dist && del-cli coverage && npm run lint && npm run build",
"test": "vitest",
"test:coverage": "npm test -- --coverage",
"lint": "eslint . --ext .ts && tsc --project tsconfig.lint.json --noEmit",
"lint:fix": "eslint . --ext .ts --fix",
"format": "prettier --write .",
"lint": "biome lint index.ts lib test biome.json",
"lint:fix": "biome check --apply index.ts lib test biome.json",
"prepublishOnly": "npm run build:release"
},
"devDependencies": {
"@types/node": "^20.8.4",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"@vitest/coverage-v8": "^0.34.6",
"@biomejs/biome": "^1.5.3",
"@types/node": "^20.11.16",
"@vitest/coverage-v8": "^1.2.2",
"del-cli": "^5.0.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-vitest": "^0.3.2",
"prettier": "^3.0.3",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
"typescript": "^5.3.3",
"vitest": "^1.2.2"
},
"engines": {
"node": ">=16"
Expand Down
Loading

0 comments on commit 44b6923

Please sign in to comment.