Skip to content

LinearPluginOptions

Defined in: plugins/holocron-plugin-linear/src/index.ts:24

Options for the Linear plugin.

optional automation?: object

Defined in: plugins/holocron-plugin-linear/src/index.ts:37

The team’s automation, set by provider linear setup and compared by provider linear doctor.

optional autoArchive?: object

Archive a closed issue after months (0 is off).

months: number

Months after closing; 0 switches auto-archive off.

optional autoClose?: object

Close an issue after months without activity (0 is off), into the state named state (the team’s default if left out).

months: number

Months of inactivity; 0 switches auto-close off.

optional state?: string

The name of the team state an auto-closed issue is put in.

optional git?: object[]

Git automation rules provider linear setup makes (or repoints) and provider linear doctor compares. event is one of draft, review, start, mergeable, merge; state is a team state name; branch limits the rule to pull requests targeting that exact branch name.


optional baseUrl?: string

Defined in: plugins/holocron-plugin-linear/src/index.ts:64

Override the API root, for tests. Defaults to https://api.linear.app.


optional cliToken?: string

Defined in: cli/kyber/dist/secrets.d.mts:125

The --token flag.

ResolveTokenInput.cliToken


optional env?: ProcessEnv

Defined in: cli/kyber/dist/secrets.d.mts:127

The environment to read. Default process.env; a test passes its own.

ResolveTokenInput.env


optional fetch?: (input, init?) => Promise<Response>

Defined in: plugins/holocron-plugin-linear/src/index.ts:66

Override fetch, for tests.

string | URL | Request

RequestInit

Promise<Response>


optional issueTypes?: readonly object[]

Defined in: plugins/holocron-plugin-linear/src/index.ts:28

The organization’s issue Types (issueTypes, #2512), handed in by the loader: each one’s label is its Linear kind label.


optional keyring?: (account) => string | null

Defined in: cli/kyber/dist/secrets.d.mts:129

Looks an account up in the keyring. Replaces the configured lookup and the credential store; a test passes its own.

string

string | null

ResolveTokenInput.keyring


optional labels?: string[]

Defined in: plugins/holocron-plugin-linear/src/index.ts:60

Labels provider linear setup makes on the team when they are missing.


optional org?: string

Defined in: cli/kyber/dist/secrets.d.mts:131

The active org. It selects the keyring account <service>.<org> first. Default: the variable orgEnvName names.

ResolveTokenInput.org


optional project?: string

Defined in: plugins/holocron-plugin-linear/src/index.ts:62

A project provider linear setup makes when it is missing.


optional states?: object

Defined in: plugins/holocron-plugin-linear/src/index.ts:30

Names of the states the inProgress and inReview lifecycle slots move an issue to.

optional inProgress?: string

The state for work that has started.

optional inReview?: string

The state for work waiting on review.


optional team?: string

Defined in: plugins/holocron-plugin-linear/src/index.ts:26

The key of the team the issues and boards belong to, e.g. ENG. Required by both capabilities.


optional templates?: object[]

Defined in: plugins/holocron-plugin-linear/src/index.ts:58

Issue templates (name, and the .holocron/linear/*.md file). Validated and reported as skipped: not applied or compared.

file: string

name: string