Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@enormora/eslint-config-browser

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enormora/eslint-config-browser

Enormora’s ESLint browser configuration

  • 0.0.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
629
decreased by-39.52%
Maintainers
0
Weekly downloads
 
Created
Source

@enormora/eslint-config-browser

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

Install & Setup

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

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

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

import { baseConfig } from '@enormora/eslint-config-base';
import { browserConfig } from '@enormora/eslint-config-browser';

export default [
    {
        ignores: ['dist/**/*']
    },
    baseConfig,
    {
        ...browserConfig,
        files: ['src/browser/**/*.js']
    }
];

FAQs

Package last updated on 07 Nov 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc