Skip to content

Commit

Permalink
chore: Upgrade build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
prantlf committed Aug 11, 2024
1 parent fa77602 commit b842c92
Show file tree
Hide file tree
Showing 4 changed files with 433 additions and 228 deletions.
10 changes: 0 additions & 10 deletions .denolint.json

This file was deleted.

49 changes: 49 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
"organizeImports": {
"enabled": true
},
"files": {
"ignore": ["dist/**"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noParameterAssign": "off"
},
"complexity": {
"useArrowFunction": "off"
}
}
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 90
},
"javascript": {
"formatter": {
"arrowParentheses": "asNeeded",
"bracketSpacing": true,
"quoteProperties": "asNeeded",
"quoteStyle": "single",
"semicolons": "asNeeded",
"trailingComma": "none"
}
},
"json": {
"parser": {
"allowComments": false,
"allowTrailingCommas": false
},
"formatter": {
"enabled": true,
"trailingCommas": "none"
}
}
}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,25 @@
},
"scripts": {
"build": "rollup -c",
"lint": "denolint",
"lint": "biome lint *.js src test",
"check": "node --test",
"coverage": "node --test --experimental-test-coverage",
"test": "denolint && node --test"
"test": "biome lint *.js src test && node --test"
},
"devDependencies": {
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/http-client": "^2.2.1",
"@actions/io": "^1.1.3",
"@actions/tool-cache": "^2.0.1",
"@rollup/plugin-commonjs": "^25.0.7",
"@biomejs/biome": "^1.8.3",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"builtins": "^5.1.0",
"denolint": "^2.0.14",
"mersenne-twister": "^1.1.0",
"rollup": "^4.17.2",
"semver": "^7.6.0"
"rollup": "^4.20.0",
"semver": "^7.6.3"
},
"keywords": [
"github-actions",
Expand Down
Loading

0 comments on commit b842c92

Please sign in to comment.