Socket
Socket
Sign inDemoInstall

@enormora/eslint-config-react

Package Overview
Dependencies
204
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @enormora/eslint-config-react

Enormora’s ESLint react configuration


Version published
Maintainers
2
Install size
5.88 MB
Created

Readme

Source

@enormora/eslint-config-react

Config preset for react, enabling specific rules.

Install & Setup

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

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

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

import { baseConfig } from '@enormora/eslint-config-base';
import { reactConfig } from '@enormora/eslint-config-react';

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

FAQs

Last updated on 05 Feb 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc