electron/script/codesign
Charles Kerr cdecff094e
chore: use oxfmt and oxlint in 40-x-y (#51500)
* build: replace eslint with oxlint and add oxfmt

Replace ESLint and its plugin ecosystem with oxlint (oxc.rs).
Add oxfmt alongside oxlint for JS/TS formatting and import sorting.

- Consolidate root .eslintrc.json plus 13 nested configs into .oxlintrc.json
- script/lint.js spawns oxlint binary directly instead of ESLint Node API
- Per-process no-restricted-imports rules preserved as oxlintrc overrides
- mocha/no-exclusive-tests replaced by in-repo plugin (no-only-tests.mjs)
- docs ESLint pass replaced by inline node: protocol check in lint.js
- .oxfmtrc.json matching repo style (single quotes, semicolons, 2-space)
- yarn lint:fmt (oxfmt --check) chained into yarn lint
- yarn format (oxfmt --write) for local fixup
- lint-staged runs oxfmt --write on staged JS/TS files

This commit contains only rule/tooling infrastructure changes and is
intended to be cherry-picked to other maintenance branches, where
formatting and lint fixes can be applied separately.

Manual backport of electron/electron@e1af67c698 (#50691) and
electron/electron@3c7fd34f47 (#50692).

* chore: apply oxfmt and oxlint formatting changes

Run oxfmt --write and oxlint --fix across all JS/TS sources to
apply the new formatting and lint rules from the previous commit.

* chore: remove accidentally-included CLAUDE.md
2026-05-07 11:24:09 -07:00
..
.gitignore build: auto-generate the codesigning cert used for macOS CI testing runs (#17668) 2020-03-19 10:00:42 +09:00
cleanup-identity.sh build: fix code-signing for MacOS x64 tests (#50072) 2026-03-05 10:27:29 +01:00
codesign.cnf build: fix installing of code-signing identity on macOS (#27221) 2021-01-11 10:49:15 +09:00
gen-trust.ts chore: use oxfmt and oxlint in 40-x-y (#51500) 2026-05-07 11:24:09 -07:00
generate-identity.sh build: fix code-signing for MacOS x64 tests (#50072) 2026-03-05 10:27:29 +01:00
get-trusted-identity.sh build: fix code-signing for MacOS x64 tests (#50072) 2026-03-05 10:27:29 +01:00
trust.xml build: auto-generate the codesigning cert used for macOS CI testing runs (#17668) 2020-03-19 10:00:42 +09:00