LinearPluginOptions
Defined in: plugins/holocron-plugin-linear/src/index.ts:24
Options for the Linear plugin.
Extends
Section titled “Extends”Properties
Section titled “Properties”automation?
Section titled “automation?”
optionalautomation?: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.
autoArchive?
Section titled “autoArchive?”
optionalautoArchive?:object
Archive a closed issue after months (0 is off).
autoArchive.months
Section titled “autoArchive.months”months:
number
Months after closing; 0 switches auto-archive off.
autoClose?
Section titled “autoClose?”
optionalautoClose?:object
Close an issue after months without activity (0 is off), into the state named state (the team’s default if left out).
autoClose.months
Section titled “autoClose.months”months:
number
Months of inactivity; 0 switches auto-close off.
autoClose.state?
Section titled “autoClose.state?”
optionalstate?:string
The name of the team state an auto-closed issue is put in.
optionalgit?: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.
baseUrl?
Section titled “baseUrl?”
optionalbaseUrl?:string
Defined in: plugins/holocron-plugin-linear/src/index.ts:64
Override the API root, for tests. Defaults to https://api.linear.app.
cliToken?
Section titled “cliToken?”
optionalcliToken?:string
Defined in: cli/kyber/dist/secrets.d.mts:125
The --token flag.
Inherited from
Section titled “Inherited from”
optionalenv?:ProcessEnv
Defined in: cli/kyber/dist/secrets.d.mts:127
The environment to read. Default process.env; a test passes its own.
Inherited from
Section titled “Inherited from”fetch?
Section titled “fetch?”
optionalfetch?: (input,init?) =>Promise<Response>
Defined in: plugins/holocron-plugin-linear/src/index.ts:66
Override fetch, for tests.
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
issueTypes?
Section titled “issueTypes?”
optionalissueTypes?: readonlyobject[]
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.
keyring?
Section titled “keyring?”
optionalkeyring?: (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.
Parameters
Section titled “Parameters”account
Section titled “account”string
Returns
Section titled “Returns”string | null
Inherited from
Section titled “Inherited from”labels?
Section titled “labels?”
optionallabels?:string[]
Defined in: plugins/holocron-plugin-linear/src/index.ts:60
Labels provider linear setup makes on the team when they are missing.
optionalorg?: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.
Inherited from
Section titled “Inherited from”project?
Section titled “project?”
optionalproject?:string
Defined in: plugins/holocron-plugin-linear/src/index.ts:62
A project provider linear setup makes when it is missing.
states?
Section titled “states?”
optionalstates?: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.
inProgress?
Section titled “inProgress?”
optionalinProgress?:string
The state for work that has started.
inReview?
Section titled “inReview?”
optionalinReview?:string
The state for work waiting on review.
optionalteam?: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.
templates?
Section titled “templates?”
optionaltemplates?: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