Skip to main content

Documentation Index

Fetch the complete documentation index at: https://www.sunny-dev.info/llms.txt

Use this file to discover all available pages before exploring further.

Code Quality ensures that every commit adheres to your team’s coding standards. Revolte integrates with industry-standard linters to provide immediate feedback on maintainability and potential bugs.

How to Configure

Customize your code quality standards through the Revolte dashboard.
1

Access Repo Preferences

Navigate to YAML Configuration > Repo Preferences and locate the Pipelines section.
2

Open Code Quality Settings

Click on the Code Quality component to view detailed configuration options.
3

Define Rules

Use the YAML editor to specify linting rules and severity levels (error, warn, off).
4

Commit Changes

Save your configuration to the repository. See Syncing Changes for a detailed walkthrough.

Configuration Example

Enable and customize code quality checks in your revolte.yaml:
revolte.yaml
revolte:
  version: "1.0"
  project: Demo-Project
  appName: "demo-app"

  config:
    pipeline:
      codeQuality:
        codeStyle:
          rules:
            javascript/arrayCallbackReturn: warn
            javascript/constructorSuper: warn
            javascript/forDirection: warn
            javascript/getterReturn: warn
            javascript/noAsyncPromiseExecutor: error

Supported Features

  • Static Analysis: Detects anti-patterns and potential runtime errors.
  • Linting: Enforces consistent formatting and style rules.
  • Complexity Metrics: Identifies overly complex functions that may need refactoring.