badge-urls
Version:
Helper functions to generate URLs for all badges / shields from shields.io
7 lines (6 loc) • 608 B
JavaScript
// This file was auto-generated. Do not modify it by hand and instead modify the scraper or code generator files.
import { urlWithOptions } from "../../options";
/** Label for Sonar Test Count (/sonar/:metric/:component?server=http%3A%2F%2Fsonar.petalslink.com&sonarVersion=4.2) */
export const label = `Sonar Test Count`;
/** URL for Sonar Test Count (/sonar/:metric/:component?server=http%3A%2F%2Fsonar.petalslink.com&sonarVersion=4.2) */
export const url = (metric, component, options) => urlWithOptions(`/sonar/${metric}/${component}?server=http%3A%2F%2Fsonar.petalslink.com&sonarVersion=4.2`, options);