Skip to content

Commit

Permalink
chore: coverage and happier biome
Browse files Browse the repository at this point in the history
  • Loading branch information
lmammino committed Feb 28, 2024
1 parent 27d1aae commit 1a38666
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
27 changes: 22 additions & 5 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,44 @@
"nursery": {
"all": true,
"noNodejsModules": "off",
"noUnusedImports": "warn"
"noUnusedImports": "warn",
"useImportRestrictions": "off"
},
"correctness": {
"all": true
}
},
"ignore": ["coverage/", "dist/", "node_modules/", "docs/"]
"ignore": [
"coverage/",
"dist/",
"node_modules/",
"docs/"
]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80,
"ignore": ["coverage/", "dist/", "node_modules/", "docs/"]
"ignore": [
"coverage/",
"dist/",
"node_modules/",
"docs/"
]
},
"javascript": {
"formatter": {
"semicolons": "asNeeded",
"quoteStyle": "single"
},
"globals": ["Deno", "describe", "test", "expect", "it"]
"globals": [
"Deno",
"describe",
"test",
"expect",
"it"
]
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build:docs": "typedoc --out docs/ src/",
"lint:biome": "biome lint . && biome format .",
"lint:ts": "tsc --noEmit --incremental false --diagnostics",
"test:node": "dts test",
"test:node": "dts test --coverage",
"test:deno": "deno test test/deno.ts",
"test:bun": "bun test ./test/bun.ts"
},
Expand Down

0 comments on commit 1a38666

Please sign in to comment.