Open Design Tokens
Preparing search index...
linter
LintRule
Interface LintRule<Options>
interface
LintRule
<
Options
=
unknown
>
{
id
:
string
;
meta
:
RuleMeta
<
Options
>
;
create
(
ctx
:
LintContext
<
Options
>
)
:
RuleVisitor
;
}
Type Parameters
Options
=
unknown
Index
Properties
id
meta
Methods
create
Properties
id
id
:
string
Flat kebab-case id, e.g.
token-name-length
.
meta
meta
:
RuleMeta
<
Options
>
Methods
create
create
(
ctx
:
LintContext
<
Options
>
)
:
RuleVisitor
Parameters
ctx
:
LintContext
<
Options
>
Returns
RuleVisitor
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
id
meta
Methods
create
Open Design Tokens
Loading...
Flat kebab-case id, e.g.
token-name-length.