# Class: FakeRule2
@boll/core › Globals › FakeRule2
# Class: FakeRule2
# Hierarchy
- FakeRule2
# Implements
# Index
# Constructors
# Properties
# Methods
# Constructors
# constructor
+ new FakeRule2(options
: object): FakeRule2
Defined in tests/result.test.ts:30
Parameters:
Name | Type | Default |
---|---|---|
options | object | {} |
Returns: FakeRule2
# Properties
# name
• name: string = "fakerule2"
Implementation of PackageRule.name
Defined in tests/result.test.ts:30
# options
• options: object
Defined in tests/result.test.ts:32
# Type declaration:
# Methods
# check
▸ check(file
: FileContext): Promise‹Result[]›
Implementation of PackageRule
Defined in tests/result.test.ts:34
Parameters:
Name | Type |
---|---|
file | FileContext |
Returns: Promise‹Result[]›