Skip to content

Adopt @playcanvas/eslint-config v3 (/typescript)#43

Draft
kpal81xd wants to merge 1 commit into
mainfrom
eslint-config-v3
Draft

Adopt @playcanvas/eslint-config v3 (/typescript)#43
kpal81xd wants to merge 1 commit into
mainfrom
eslint-config-v3

Conversation

@kpal81xd

@kpal81xd kpal81xd commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Part of the v3 rollout — playcanvas/eslint-config#48 (new adoption — this repo did not previously use @playcanvas/eslint-config).

What changed

  • Adopted the shared /typescript tier as the repo's root ESLint config. This repo had no prior root ESLint setup (no eslint.config.*, no lint script, no eslint devDeps), so this introduces linting for the CLI's own source under src/ (and index.js, package.json).
  • Added a root eslint.config.mjs that composes @playcanvas/eslint-config/typescript and ignores templates/ and dist (template projects ship their own ESLint setup; only this repo's own source is linted).
  • Added a lint script (eslint .).
  • Added a project .npmrc (registry=https://registry.npmjs.org/) to keep the lockfile on the public registry.
  • Added @playcanvas/eslint-config@3.0.0-beta.6 and eslint@^9.39.0 (peer of the shared config; not previously present); removed redundant eslint plugin/parser devDeps now bundled by the shared config: none (the repo had no prior ESLint dependencies to remove).

Lint status

Draft — config loads cleanly; 33 errors / 0 warnings remain (new strict-mode coverage this repo wasn't linted under before). Not fixed here per the rollout policy (keep the shared config strict, triage separately).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant