Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@enormora/eslint-config-mocha

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enormora/eslint-config-mocha

Enormora’s ESLint mocha configuration

latest
Source
npmnpm
Version
0.0.19
Version published
Weekly downloads
780
364.29%
Maintainers
2
Weekly downloads
 
Created
Source

@enormora/eslint-config-mocha

Config preset for mocha, enabling specific rules and configures global variables.

Install & Setup

Install the @enormora/eslint-config-mocha and the base preset package via npm:

npm install --save-dev @enormora/eslint-config-base @enormora/eslint-config-mocha

Create an ESLint configuration file (e.g., eslint.config.js) in your project and add the base and mocha config to the configuration array:

import { baseConfig } from '@enormora/eslint-config-base';
import { mochaConfig } from '@enormora/eslint-config-mocha';

export default [
    {
        ignores: ['dist/**/*']
    },
    baseConfig,
    {
        ...mochaConfig,
        files: ['**/*.test.js']
    }
];

FAQs

Package last updated on 29 Sep 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