chore: align tooling to agentage conventions (CI, dependabot, eslint, tsconfig)#5
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aligns
memory-coreto the conventions used across the agentage repos (cli/web/e2e).PR review workflow (CI):
.github/workflows/pr-validation.yml- on every PR tomaster, runs install -> type-check -> lint -> format:check -> test (with coverage) -> build, on Node 22 with npm cache (actions/checkout@v6, setup-node@v6), concurrency-cancel per PR. (Dropped the cli-specific release-guard + PR-comment bot; can add later with release tooling.)Dependabot:
.github/dependabot.yml- weekly Fri 18:00 Europe/Prague, grouped, assignee vreshch, npm majors ignored + github-actions, exactly the cli config.ESLint: flat
eslint.config.mjsmatching the org rule set (eslint-plugin-prettier,no-explicit-any, inlineconsistent-type-imports,naming-convention,prefer-const/arrow-body-style/no-var).TypeScript: stricter
tsconfig.json(noUnusedLocals/Parameters,noImplicitReturns,noFallthroughCasesInSwitch,resolveJsonModule) + atsconfig.build.json(emit src only) -buildnow uses it.Prettier:
.prettierrc+.prettierignore(org format). Scripts/engines:lint:fix,format,test:coverage,clean,prepublishOnly,verify;node>=22 / npm>=10. Lockfile committed so CInpm ciworks.Verified locally:
npm run verifypasses (type-check, lint, format, 44 tests @ 92% lines / 74% branches, build).