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
9 changes: 0 additions & 9 deletions .eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
env:
CI: true

- name: Lint
run: pnpm lint
- name: Lint (biome)
run: pnpm biome ci
env:
CI: true

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

This file was deleted.

48 changes: 48 additions & 0 deletions biome.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": true,
"includes": ["**", "!**/dist", "!**/coverage", "!**/.changeset"]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"linter": {
"enabled": true,
"rules": {
"preset": "recommended",
"complexity": {
"noForEach": "off"
},
"correctness": {
"noUnusedFunctionParameters": "off",
"noUnusedImports": "error",
"noUnusedVariables": "warn"
},
"style": {
"noNonNullAssertion": "off",
"noParameterAssign": "off"
},
"suspicious": {
"noExplicitAny": "off"
}
}
},
"javascript": {
"jsxRuntime": "reactClassic",
"formatter": {
"quoteStyle": "single",
"semicolons": "always",
"trailingCommas": "es5"
}
}
}
17 changes: 5 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,26 @@
"changeset": "pnpm exec changeset",
"get:changes": "git log --format=%B --no-merges HEAD ^master | pbcopy",
"husky:install": "pnpm exec husky install",
"lint": "eslint --ext .ts,.tsx src",
"lint": "biome check",
"test": "vitest run",
"test:watch": "vitest",
"prepare": "pnpm build"
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
"prepare": "pnpm build",
"format": "biome check --fix",
"check": "biome check && tsc --noEmit"
},
"name": "react-abode",
"author": "Bram Kaashoek",
"module": "dist/index.mjs",
"devDependencies": {
"@biomejs/biome": "2.5.15",
"@changesets/cli": "^2.24.2",
"@types/jsdom": "^20.0.0",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"eslint": "^8.21.0",
"fast-check": "^3.1.1",
"husky": "^8.0.1",
"jsdom": "^30.1.3",
"mutationobserver-shim": "^0.3.7",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-node": "^10.9.1",
Expand Down
Loading
Loading