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
61 changes: 30 additions & 31 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
Expand All @@ -11,11 +11,10 @@
"rules": {
"recommended": true,
"style": {
"useTemplate": "off"
},
"nursery": {
"useTemplate": "off",
"noCommonJs": "error"
},
"nursery": {},
"suspicious": {
"noAssignInExpressions": "warn"
},
Expand All @@ -27,9 +26,7 @@
}
}
},
"organizeImports": {
"enabled": true
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"formatter": {
"enabled": true,
"formatWithErrors": false,
Expand All @@ -53,30 +50,32 @@
}
},
"files": {
"ignore": [
".yarn/**",
"tests/analysis_tests/**/src/**",
"tests/build_tests/**/src/**",
"tests/docstring_tests/**",
"tests/gentype_tests/**",
"tests/tests/**/src/**",
"tests/tools_tests/**/src/**",
"analysis/examples/**/src/**",
"rewatch/**",
"lib/es6/**",
"lib/js/**",
"lib/bs/**",
"playground/**",
"*.bs.js",
"*.res.js",
"*.res.mjs",
"*.gen.ts*",
"*.d.ts",
"*.exe",
"package.json",
"packages/artifacts.json",
".mypy_cache/**",
".history/**"
"includes": [
"**",
"!**/.yarn",
"!**/tests/analysis_tests/**/src",
"!**/tests/build_tests/**/src",
"!**/tests/docstring_tests",
"!**/tests/gentype_tests",
"**/tests/gentype_tests/typescript-react-example/**",
"!**/tests/tests/**/src",
"!**/tests/tools_tests/**/src",
"!**/analysis/examples/**/src",
"!**/rewatch",
"!**/lib/es6",
"!**/lib/js",
"!**/lib/bs",
"!**/playground",
"!**/*.bs.js",
"!**/*.res.js",
"!**/*.res.mjs",
"!**/*.gen.ts*",
"!**/*.d.ts",
"!**/*.exe",
"!**/package.json",
"!**/packages/artifacts.json",
"!**/.mypy_cache",
"!**/.history"
]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"@rescript/win32-x64": "workspace:packages/@rescript/win32-x64"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@biomejs/biome": "2.3.11",
"@types/node": "^25.0.3",
"@types/semver": "^7.7.0",
"@yarnpkg/types": "^4.0.1",
Expand Down
1 change: 1 addition & 0 deletions tests/build_tests/weird_deps/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import * as assert from "node:assert";
import { setup } from "#dev/process";

const { execBuild, execClean } = setup(import.meta.dirname);

const out = await execBuild();
Expand Down
1 change: 0 additions & 1 deletion tests/gentype_tests/typescript-react-example/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ SHELL = /bin/bash

test:
yarn build
yarn check
yarn typecheck
@git diff --quiet src/ \
|| { echo; echo "Please review the Gentype outputs too!"; echo; false; } \
Expand Down
13 changes: 0 additions & 13 deletions tests/gentype_tests/typescript-react-example/biome.json

This file was deleted.

4 changes: 1 addition & 3 deletions tests/gentype_tests/typescript-react-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"start": "rescript build -w",
"build": "rescript build",
"clean": "rescript clean",
"typecheck": "tsc",
"check": "biome check --changed --no-errors-on-unmatched ."
"typecheck": "tsc"
},
"dependencies": {
"@rescript/react": "^0.13.1",
Expand All @@ -15,7 +14,6 @@
"rescript": "workspace:^"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"typescript": "5.9.3"
Expand Down
77 changes: 38 additions & 39 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -180,18 +180,18 @@ __metadata:
languageName: node
linkType: hard

"@biomejs/biome@npm:1.9.4":
version: 1.9.4
resolution: "@biomejs/biome@npm:1.9.4"
dependencies:
"@biomejs/cli-darwin-arm64": "npm:1.9.4"
"@biomejs/cli-darwin-x64": "npm:1.9.4"
"@biomejs/cli-linux-arm64": "npm:1.9.4"
"@biomejs/cli-linux-arm64-musl": "npm:1.9.4"
"@biomejs/cli-linux-x64": "npm:1.9.4"
"@biomejs/cli-linux-x64-musl": "npm:1.9.4"
"@biomejs/cli-win32-arm64": "npm:1.9.4"
"@biomejs/cli-win32-x64": "npm:1.9.4"
"@biomejs/biome@npm:2.3.11":
version: 2.3.11
resolution: "@biomejs/biome@npm:2.3.11"
dependencies:
"@biomejs/cli-darwin-arm64": "npm:2.3.11"
"@biomejs/cli-darwin-x64": "npm:2.3.11"
"@biomejs/cli-linux-arm64": "npm:2.3.11"
"@biomejs/cli-linux-arm64-musl": "npm:2.3.11"
"@biomejs/cli-linux-x64": "npm:2.3.11"
"@biomejs/cli-linux-x64-musl": "npm:2.3.11"
"@biomejs/cli-win32-arm64": "npm:2.3.11"
"@biomejs/cli-win32-x64": "npm:2.3.11"
dependenciesMeta:
"@biomejs/cli-darwin-arm64":
optional: true
Expand All @@ -211,62 +211,62 @@ __metadata:
optional: true
bin:
biome: bin/biome
checksum: 10c0/b5655c5aed9a6fffe24f7d04f15ba4444389d0e891c9ed9106fab7388ac9b4be63185852cc2a937b22940dac3e550b71032a4afd306925cfea436c33e5646b3e
checksum: 10c0/b9764070c3d1583466a8861d37dc480c18103f7bb52115db0f265a38e6343d69792c9beea094e0b3db0905cb365b9a82ad2a0f3f05b7f04873a8f9b444263140
languageName: node
linkType: hard

"@biomejs/cli-darwin-arm64@npm:1.9.4":
version: 1.9.4
resolution: "@biomejs/cli-darwin-arm64@npm:1.9.4"
"@biomejs/cli-darwin-arm64@npm:2.3.11":
version: 2.3.11
resolution: "@biomejs/cli-darwin-arm64@npm:2.3.11"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard

"@biomejs/cli-darwin-x64@npm:1.9.4":
version: 1.9.4
resolution: "@biomejs/cli-darwin-x64@npm:1.9.4"
"@biomejs/cli-darwin-x64@npm:2.3.11":
version: 2.3.11
resolution: "@biomejs/cli-darwin-x64@npm:2.3.11"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"@biomejs/cli-linux-arm64-musl@npm:1.9.4":
version: 1.9.4
resolution: "@biomejs/cli-linux-arm64-musl@npm:1.9.4"
"@biomejs/cli-linux-arm64-musl@npm:2.3.11":
version: 2.3.11
resolution: "@biomejs/cli-linux-arm64-musl@npm:2.3.11"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard

"@biomejs/cli-linux-arm64@npm:1.9.4":
version: 1.9.4
resolution: "@biomejs/cli-linux-arm64@npm:1.9.4"
"@biomejs/cli-linux-arm64@npm:2.3.11":
version: 2.3.11
resolution: "@biomejs/cli-linux-arm64@npm:2.3.11"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard

"@biomejs/cli-linux-x64-musl@npm:1.9.4":
version: 1.9.4
resolution: "@biomejs/cli-linux-x64-musl@npm:1.9.4"
"@biomejs/cli-linux-x64-musl@npm:2.3.11":
version: 2.3.11
resolution: "@biomejs/cli-linux-x64-musl@npm:2.3.11"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard

"@biomejs/cli-linux-x64@npm:1.9.4":
version: 1.9.4
resolution: "@biomejs/cli-linux-x64@npm:1.9.4"
"@biomejs/cli-linux-x64@npm:2.3.11":
version: 2.3.11
resolution: "@biomejs/cli-linux-x64@npm:2.3.11"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard

"@biomejs/cli-win32-arm64@npm:1.9.4":
version: 1.9.4
resolution: "@biomejs/cli-win32-arm64@npm:1.9.4"
"@biomejs/cli-win32-arm64@npm:2.3.11":
version: 2.3.11
resolution: "@biomejs/cli-win32-arm64@npm:2.3.11"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard

"@biomejs/cli-win32-x64@npm:1.9.4":
version: 1.9.4
resolution: "@biomejs/cli-win32-x64@npm:1.9.4"
"@biomejs/cli-win32-x64@npm:2.3.11":
version: 2.3.11
resolution: "@biomejs/cli-win32-x64@npm:2.3.11"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
Expand Down Expand Up @@ -745,7 +745,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@tests/gentype-react-example@workspace:tests/gentype_tests/typescript-react-example"
dependencies:
"@biomejs/biome": "npm:1.9.4"
"@rescript/react": "npm:^0.13.1"
"@types/react": "npm:^18.3.3"
"@types/react-dom": "npm:^18.3.0"
Expand Down Expand Up @@ -2459,7 +2458,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "rescript@workspace:."
dependencies:
"@biomejs/biome": "npm:1.9.4"
"@biomejs/biome": "npm:2.3.11"
"@rescript/darwin-arm64": "workspace:packages/@rescript/darwin-arm64"
"@rescript/darwin-x64": "workspace:packages/@rescript/darwin-x64"
"@rescript/linux-arm64": "workspace:packages/@rescript/linux-arm64"
Expand Down
Loading