mirror of
https://github.com/pezkuwichain/pezkuwi-dev.git
synced 2026-10-22 03:36:18 +00:00
f10614dd7d09de76ac9e5a42b7a26d26add65ee9
Moving a repository to 0.86 renames rules (formatting rules to @stylistic, import/* to import-x/*, deprecation/deprecation to @typescript-eslint/no-deprecated, and typescript-eslint 8's removals). A disable comment that still names the old rule disables nothing: eslint reports it unused, --fix deletes it, and the rule it held back applies. Measured on pezkuwi-apps: the generated typesBundle.ts carries /* eslint-disable quotes */, and without a rename --fix rewrote all 188k lines of it. pezkuwi-dev-migrate-eslint10 renames the rules in eslint-disable / eslint-enable comments across the tracked files, before the first lint on 0.86, including such comments inside string literals, which is how generators emit them. Core renames come from eslint's own rule metadata (meta.deprecated.replacedBy); the rest are the mappings of #9. --check reports without writing and exits 1 when there is work. Run on this repository it found one: pezkuwi-dev-deno-map writes /* eslint-disable import/extensions */ into the Deno mod.ts it generates. The spec runs the tool in a scratch git repository: every kind of rename, descriptions kept, duplicates merged, a directive inside a string, current names and bare disables left alone, and --check. Its fixture is spelt so the tool, run here, cannot rewrite it.
@pezkuwi/dev
A collection of shared CI scripts and development environment (configuration, dependencies) used by all @pezkuwi projects.
Included here -
- @pezkuwi/dev Common base configurations for our TypeScript projects
- @pezkuwi/dev-test A Jest-like global environment for usage alongside
node:test - @pezkuwi/dev-ts An ESM loader for TS environments
Languages
JavaScript
71.7%
TypeScript
25.5%
Shell
2.8%