🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

eslint-plugin-exp-hub

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-exp-hub

This package provides a set of custom rules for ESLint that are specific to the Experimentation Hub project, using the [DWC ESLint Plugin](https://github.com/bbc/data-web-components/tree/main/tools/eslint-plugin), it extends the pre existing rules and ext

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Experimentation Hub Eslint Plugin

This package provides a set of custom rules for ESLint that are specific to the Experimentation Hub project, using the DWC ESLint Plugin, it extends the pre existing rules and extends them with the additional configuration for the Hub's node and web projects.

Usage

Add the dependency to your project:

{
  "devDependencies": {
    ... // other dependencies
    "eslint-plugin-exp-hub": "workspace:*"
  }
}

Create a eslint.config.mjs file in the root file of your project and add the following configuration for a node project:

import expHubConfig from "eslint-plugin-exp-hub";

export default expHubConfig.configs.node;

Or for a web project:

import expHubConfig from "eslint-plugin-exp-hub";

export default expHubConfig.configs.web;

FAQs

Package last updated on 05 Nov 2025

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