Skip to content

@dovenv/todo - API documentation

Classes

Todo

Extends

Constructors

new Todo()
ts
new Todo(opts?: Config, config?: Config): Todo
Parameters
ParameterType
opts?Config
config?Config
Returns

Todo

Inherited from

PluginCore<Config>.constructor

Methods

run()
ts
run(pattern?: string[]): Promise<unknown>
Parameters
ParameterType
pattern?string[]
Returns

Promise<unknown>

Properties

PropertyTypeDefault valueDescriptionOverridesInherited from
configundefined | ConfigundefinedThe dovenv configuration.-PluginCore.config
helpURLstringhomepageHelp url for your applicationPluginCore.helpURL-
optsundefined | ConfigundefinedConfiguration options.-PluginCore.opts
titlestring'todo'-PluginCore.title-

Functions

todoPlugin()

ts
function todoPlugin(conf?: Config): Config

A plugin for dovenv to get TODOs in a workspace.

Parameters

ParameterTypeDescription
conf?ConfigConfiguration for the plugin.

Returns

Config

  • The plugin. import { defineConfig } from '@dovenv/core' import { todoPlugin } from '@dovenv/todo' export default defineConfig( todoPlugin( { example : { input : [ 'src/*.{ts,tsx,js,jsx,md}' ], }, } ), )

Type Aliases

Config

ts
type Config: { [key in string]: Object };

References

default

Renames and re-exports todoPlugin