Skip to content

dh-sandbox/qlty-shared-config-consumer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qlty-shared-config-consumer

This repository demonstrates how a project can inherit shared analysis configuration from a separate Qlty source repository.

It is the consumer side of the shared configuration demo. When Qlty runs, this repository pulls in shared analysis settings from the source repository instead of defining everything locally.

Purpose

This repo is intended to show how a project can:

  • inherit Qlty analysis configuration from another repository
  • receive shared linter configuration files at analysis time
  • keep local configuration minimal while still using standardized rules
  • override or extend shared settings when needed

Demo Repositories

This demo is made up of two repositories:

How It Works

This repository references the shared source in its .qlty/qlty.toml file:

config_version = "0"

[[source]]
name = "default"
default = true

[[source]]
name = "shared-demo"
repository = "https://github.com/dh-sandbox/qlty-shared-config"
branch = "main"

When Qlty runs, it merges configuration from the shared source repository with this repository's local configuration. That allows this repo to inherit common standards without copying all of the analysis settings and linter config files into the project itself.

Related Documentation

Qlty documentation on shared analysis configuration: Shared Analysis Configuration

Demo Notes

This repository is a sandbox project created to demonstrate the consumer side of Qlty shared analysis configuration. It is intended to be used together with the source repository linked above.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors