# configuration/constants/rule.constants.ts

> 9 lines of code and 4 definitions.

Tree: GovLab Stats
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/stats#file-stats-configuration-constants-rule-constants-ts
Source text: https://banes-lab.com/source/stats/configuration/constants/rule.constants.ts.txt

Listed in [configuration/constants](https://banes-lab.com/api/source/stats/configuration/constants.md), after [configuration/constants/pattern.constants.ts](https://banes-lab.com/source/stats/configuration/constants/pattern.constants.ts.md) and before [configuration/constants/site.constants.ts](https://banes-lab.com/source/stats/configuration/constants/site.constants.ts.md).

## Definitions

- `DISPOSITION` (lexical_declaration, line 1, exported)
- `LOCAL_PREFIX` (lexical_declaration, line 8, exported)
- `SAMPLE_SEGMENTS` (lexical_declaration, line 10, exported)
- `OFF_SEVERITY` (lexical_declaration, line 12, exported)

## Contained in

- [configuration/constants](https://banes-lab.com/anatomy/stats/folder-stats-configuration-constants.md)

## Source

```typescript
export const DISPOSITION = {
    advisory: "advisory",
    excluded: "excluded",
    fullGate: "full-gate",
    selectable: "selectable",
} as const;

export const LOCAL_PREFIX = "local/";

export const SAMPLE_SEGMENTS: readonly string[] = ["src", "representative.ts"];

export const OFF_SEVERITY = "off";
```
