---
url: 'https://adk.nht.io/api/batteries/sandbox/lint/variables/rules.md'
description: >-
  Map of rule id (without the `adk-sandbox/` plugin prefix) to its rule object.
  Registered on the plugin as `rules`, so configs reference them as
  `adk-sandbox/{id}`.
---

# Variable: rules

```ts
const rules: {
  filesystem-read-default-allow: RuleModuleWithName<"readDefaultsToAllow", [], unknown, RuleListener>;
  no-network-disabled: RuleModuleWithName<"disabledMeansUnrestricted", [], unknown, RuleListener>;
  require-gate: RuleModuleWithName<"requireGate", [], unknown, RuleListener>;
};
```

Defined in: [src/batteries/sandbox/lint.ts:315](https://github.com/NHTIO/ADK/blob/v1.20261103.0/src/src/batteries/sandbox/lint.ts#L315)

Map of rule id (without the `adk-sandbox/` plugin prefix) to its rule object. Registered on the
plugin as `rules`, so configs reference them as `adk-sandbox/{id}`.

## Type Declaration

| Name                                                                                | Type                                                                                   | Default value                | Defined in                                                                                                                  |
| ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | ---------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
|  `filesystem-read-default-allow` | `RuleModuleWithName`<`"readDefaultsToAllow"`, \[], `unknown`, `RuleListener`>       | `filesystemReadDefaultAllow` | [src/batteries/sandbox/lint.ts:317](https://github.com/NHTIO/ADK/blob/v1.20261103.0/src/src/batteries/sandbox/lint.ts#L317) |
|  `no-network-disabled`                     | `RuleModuleWithName`<`"disabledMeansUnrestricted"`, \[], `unknown`, `RuleListener`> | `noNetworkDisabled`          | [src/batteries/sandbox/lint.ts:316](https://github.com/NHTIO/ADK/blob/v1.20261103.0/src/src/batteries/sandbox/lint.ts#L316) |
|  `require-gate`                                   | `RuleModuleWithName`<`"requireGate"`, \[], `unknown`, `RuleListener`>               | `requireGate`                | [src/batteries/sandbox/lint.ts:318](https://github.com/NHTIO/ADK/blob/v1.20261103.0/src/src/batteries/sandbox/lint.ts#L318) |
