assets

package
v0.7.0-alpha.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLanguageAsset

func GetLanguageAsset(language string, assetType AssetType) ([]byte, error)

GetLanguageAsset retrieves a configuration asset for a specific language.

Types

type AssetType

type AssetType string

AssetType defines the type of asset to be retrieved.

const (
	// LinterConfigStrict is the asset name for the strict linter config.
	LinterConfigStrict AssetType = "linter-config-strict"
	// LinterConfigStyle is the asset name for the style linter config.
	LinterConfigStyle AssetType = "linter-config-style"
	// LinterConfigComplexity is the asset name for the complexity linter config.
	LinterConfigComplexity AssetType = "linter-config-complexity"
	// LinterConfigSecurity is the asset name for the security linter config.
	LinterConfigSecurity AssetType = "linter-config-security"
	// AIContextPrompt is the asset name for the AI context prompt.
	AIContextPrompt AssetType = "ai-context-prompt"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL