chore: replace biome with oxc (oxfmt + oxlint)
- Remove @biomejs/biome from root and packages/expo-two-way-audio
- Delete biome.json
- Add .oxfmtrc.json (migrated from biome via oxfmt --migrate=biome)
- Add .oxlintrc.json with curated rule set: react, react-perf,
react-hooks, typescript, unicorn, oxc, import, promise
- Rules target functional gotchas, untyped code, perf issues,
deep JSX, nested ternaries, complexity, unused code
- Noisy stylistic rules explicitly disabled
- Add npm scripts: lint, lint:fix (oxfmt replaces format/format:check)
- Update CI to run oxfmt --check
Lint is wired up but not enforced — all rules at warn. Baseline:
6040 warnings, 0 errors.
This commit is contained in:
@@ -2,6 +2,19 @@
|
||||
"name": "@getpaseo/expo-two-way-audio",
|
||||
"version": "0.1.62",
|
||||
"description": "Native module for two way audio streaming",
|
||||
"keywords": [
|
||||
"ExpoTwoWayAudio",
|
||||
"expo",
|
||||
"expo-two-way-audio",
|
||||
"react-native"
|
||||
],
|
||||
"homepage": "https://github.com/boudra/expo-two-way-audio",
|
||||
"bugs": {
|
||||
"url": "https://github.com/speechmatics/expo-two-way-audio/issues"
|
||||
},
|
||||
"license": "MIT",
|
||||
"author": "Speechmatics <devrel@speechmatics.com> (https://github.com/speechmatics)",
|
||||
"repository": "https://github.com/boudra/expo-two-way-audio",
|
||||
"main": "build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
"scripts": {
|
||||
@@ -10,28 +23,14 @@
|
||||
"dev": "expo-module build",
|
||||
"lint": "expo-module lint",
|
||||
"test": "expo-module test",
|
||||
"format": "biome check .",
|
||||
"format:fix": "biome check --write .",
|
||||
"format": "oxfmt --check .",
|
||||
"format:fix": "oxfmt .",
|
||||
"typecheck": "tsc",
|
||||
"expo-module": "expo-module",
|
||||
"open:ios": "xed examples/basic-usage/ios",
|
||||
"open:android": "open -a \"Android Studio\" examples/basic-usage/android"
|
||||
},
|
||||
"keywords": [
|
||||
"react-native",
|
||||
"expo",
|
||||
"expo-two-way-audio",
|
||||
"ExpoTwoWayAudio"
|
||||
],
|
||||
"repository": "https://github.com/boudra/expo-two-way-audio",
|
||||
"bugs": {
|
||||
"url": "https://github.com/speechmatics/expo-two-way-audio/issues"
|
||||
},
|
||||
"author": "Speechmatics <devrel@speechmatics.com> (https://github.com/speechmatics)",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/boudra/expo-two-way-audio",
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "1.9.4",
|
||||
"@types/react": "^18.0.25",
|
||||
"expo-module-scripts": "^3.5.2",
|
||||
"expo-modules-core": "^2.0.4"
|
||||
|
||||
Reference in New Issue
Block a user