Policies - WunderGraph

Lint Policy

Schema linting capabilities enable developers to uphold GraphQL schema quality and adhere to established conventions effortlessly. By integrating schema linting into your development workflow, you can ensure consistency, enhance code maintainability, and catch issues early in the development process.

How to configure schema lintings

  1. Navigate to the Lint Policy page on Cosmo.

  2. Select the namespace.

  3. Enable the linter.

  4. Configure the lint rules and their respective severity levels once enabled.

Once the linter is enabled and the rules are configured, the lint check will be performed on every check operation of that namespace.

Severity Level

Schema Checks

To configure how far back in date the operation checks look at traffic follow these steps:

The limit of days you can configure is directly tied to your plan. If you need a larger range, please upgrade to a higher plan or contact us.