Files
Hassan Khan d299fbb361 chore: move lint and formatting to oxlint and oxfmt (#337)
* chore: add `oxlint` and `oxfmt`

* chore: switch lint to oxlint

Root oxlint.config.mjs extends oxlint-config-universe/node. Each package
re-exports it and runs oxlint --config oxlint.config.mjs ., since oxlint
does not discover a root .mjs config from a package directory. CI lints
with --deny-warnings and checks formatting with oxfmt.

Removes eslintrc.base.js, every .eslintrc.js, and the eslint,
eslint-config-universe and prettier devDependencies. Bumps oxlint and
oxfmt and aligns .oxfmtrc.json with expo/expo, ignoring the generated
SettingsPlist.ts that json2ts rewrites in prettier's default style.

Also runs pnpm dedupe. The package.json files in this commit carry the
oxfmt key reorder as well; the rest of the reformat is its own commit.

* chore: format with oxfmt

Mechanical reformat of the repo with oxfmt. No code changes.
2026-10-19 17:38:33 +01:00

48 lines
1.4 KiB
JSON

{
"name": "@config-plugins/repo",
"version": "1.0.0",
"private": true,
"scripts": {
"gen": "tsx ./scripts/generate-plugin.ts",
"update-issue-template": "tsx ./scripts/gh-issues-config.ts",
"update-dependabot-config": "tsx ./scripts/update-dependabot-config.ts",
"start": "pnpm --filter './packages/*' --parallel run build -- --watch",
"bump": "pnpm --filter './packages/*' -r exec pnpm version patch --no-git-tag-version",
"release": "pnpm publish -r --filter './packages/*'",
"prepare": "pnpm --filter './packages/*' --parallel run prepare",
"format": "oxfmt",
"lint": "oxlint --config oxlint.config.mjs scripts"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@expo/package-manager": "^1.8.4",
"@swc/core": "^1.16.18",
"@swc/jest": "^0.2.39",
"@types/jest": "^29.5.14",
"@types/js-yaml": "^4.0.5",
"@types/node": "^22.14.0",
"@types/prompts": "^2.0.13",
"@types/react": "^19.1.1",
"js-yaml": "^4.1.0",
"memfs": "^3.4.4",
"oxfmt": "^0.73.0",
"oxlint": "^1.88.0",
"oxlint-config-universe": "^0.2.0",
"prompts": "^2.4.1",
"remark-cli": "^9.0.0",
"remark-validate-links": "^10.0.2",
"tsx": "^4.19.0",
"typescript": "^5.1.3"
},
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "12.2.1",
"onFail": "warn"
}
},
"engines": {
"pnpm": "^12.2.1"
}
}