🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@nexus_js/eslint-plugin-bridge

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nexus_js/eslint-plugin-bridge

Nexus Bridge ESLint rules — enforce tenant isolation helpers (withTenant)

latest
Source
npmnpm
Version
0.9.32
Version published
Maintainers
1
Created
Source

@nexus_js/eslint-plugin-bridge

ESLint rules for Nexus Bridge tenancy isolation.

Install

pnpm add -D eslint @nexus_js/eslint-plugin-bridge

Usage

In your ESLint config:

import bridge from '@nexus_js/eslint-plugin-bridge'

export default [
  {
    plugins: { bridge },
    rules: {
      'bridge/require-with-tenant': 'error',
    },
  },
]

Rules

  • bridge/require-with-tenant: requires ctx.db.*(...) calls to wrap the first argument with withTenant(ctx, ...).

Keywords

nexus

FAQs

Package last updated on 10 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts