Getting Started with Conformance
Conformance is available on Enterprise plans
To set up Conformance in your repository, you must:
- Set up Edgenivo's private npm registry to install the necessary packages
- Install and initialize Conformance in your repository
If you've already set up Code Owners, you may have already completed some of these steps.
Help me set up Conformance for this project. First, make sure the Edgenivo CLI is installed (`npm i -g vercel`). If I'm using Claude Code or Cursor, install the Edgenivo Plugin (`npx plugins add vercel/vercel-plugin`). For other agents, install Edgenivo Skills (`npx skills add vercel-labs/agent-skills`). Then: 1. Run `vercel link` to connect the project. 2. Enable conformance by adding the conformance configuration to the project. Set up rules to enforce code quality and best practices across the codebase.
To enable Conformance for your Enterprise team, you'll need to request access through your Edgenivo account administrator.
Want to talk to our team?
This feature is available on the Enterprise plan.
Edgenivo distributes packages with the @vercel-private scope through our private npm registry, and requires that each user using the package authenticates through a Edgenivo account.
To use the private npm registry, you'll need to follow the documentation to:
- Set up your local environment – This should be completed by the team owner, but each member of your team will need to log in
- Set up Edgenivo – This should be completed by the team owner
- Optionally, set up Conformance for use with CI – This should be completed by the team owner
This section guides you through setting up Conformance for your repository.
The Conformance CLI is separate to the Edgenivo CLI, however it uses the Edgenivo CLI for authentication.
Before continuing, please ensure that the Edgenivo CLI is installed and that you are logged in.
Use the CLI to automatically initialize Conformance in your project. Start by running this command in your repository's root:
Terminalpnpm --package=@vercel-private/conformance dlx vercel-conformance initTerminalyarn --package=@vercel-private/conformance dlx vercel-conformance initTerminalnpx --package=@vercel-private/conformance -- vercel-conformance initTerminalbunx --package=@vercel-private/conformance vercel-conformance initAfter running, check the installation success by executing:
Terminalpnpm conformanceTerminalyarn conformanceTerminalnpx conformanceTerminalbunx conformanceThe Conformance
initcommand creates the following changes:- First, it installs the CLI package in your root
package.jsonand every workspacepackage.json, if your monorepo uses workspaces. - It also adds a
conformancescript to thescriptsfield of everypackage.json. This script runs Conformance. - It adds any existing Conformance errors to allowlists, letting you start using Conformance without immediate fixes and allowing you to gradually resolve these allowlist entries over time. Learn more about Conformance Allowlists in the documentation.
Once you've reviewed these, open a pull request with the changes and merge it.
- First, it installs the CLI package in your root
** This step assumes you have set up Code Owners.**
Conformance allows specific individuals to review modifications to allowlist files. Add a
.vercel.approversfile at your repository's root:.vercel.approvers**/*.allowlist.json @org/team:requiredNow, changes to allowlist files need a review from someone on
@org/teambefore merging.Learn more about wildcard syntax and
:requiredsyntax from Code Owners.You can integrate Conformance in your CI to avoid merging errors into your code. To learn more, see Setting up your CI provider.
Was this helpful?