🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

eslint-plugin-ebdd

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-ebdd

ESLint environment for Mocha EBDD interface.

0.2.0
latest
Source
npm
Version published
Weekly downloads
107
-67.48%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-ebdd · npm version

ESLint environment for Mocha EBDD interface.

Installation

Install ESLint and eslint-plugin-ebdd:

npm i --save-dev eslint eslint-plugin-ebdd

Note

If you installed ESLint globally (using the -g flag) then you must also install plugins globally:

npm i -g eslint-plugin-ebdd

Usage

Flat Config

Import "eslint-plugin-ebdd" in your eslint.config.js configuration file. Use the globals export to define languageOptions.globals in your config.

import { globals: ebddGlobals } from "eslint-plugin-ebdd";

export default [{ languageOptions: { globals: ebddGlobals } }];

Legacy Config

Add "ebdd" to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix. Then configure the environment ebdd/ebdd under the "env" section.

{
    "plugins": [
        "ebdd"
    ],
    "env": {
        "ebdd/ebdd": true
    }
}

Keywords

bdd

FAQs

Package last updated on 26 Apr 2024

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