Skip to content

Commit

Permalink
-> biome
Browse files Browse the repository at this point in the history
  • Loading branch information
eddow committed Nov 7, 2024
1 parent 46d8274 commit a7e3a2c
Show file tree
Hide file tree
Showing 15 changed files with 303 additions and 176 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 1.0.10

## Change

- linter from prettier+eslint to biome

## Bug-fix

- `KeySet` now rooted on `Object.create(null)` instead of `{}` so that `'constructor' in secludedProperties` is false
Expand Down
42 changes: 42 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"files": {
"include": ["src/**/*.ts", "test/**/*.ts"]
},
"javascript": {
"formatter": {
"lineWidth": 100,
"quoteStyle": "single",
"semicolons": "asNeeded",
"trailingCommas": "es5",
"indentStyle": "tab"
}
},
"linter": {
"rules": {
"style": {
"noNonNullAssertion": "off",
"useSingleVarDeclarator": {
"level": "warn",
"fix": "safe"
},
"useTemplate": {
"level": "warn",
"fix": "safe"
}
},
"suspicious": {
"noExplicitAny": "off",
"noDebugger": "error",
"noConsole": "error"
},
"performance": {
"noAccumulatingSpread": "off"
},
"complexity": {},
"security": {},
"correctness": {},
"nursery": {}
}
}
}
29 changes: 0 additions & 29 deletions eslint.config.cjs

This file was deleted.

Loading

0 comments on commit a7e3a2c

Please sign in to comment.