🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@stellar-expert/eslint-config-react

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stellar-expert/eslint-config-react

StellarExpert coding style conventions for React web apps

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

@stellar-expert/eslint-config-react

Basic StellarExpert ESLint conventions for React web apps

Usage

  • Install package

    npm i -D @stellar-expert/eslint-config-react
    
  • Create .eslintrc.js file in the project root

    module.exports = {
        //utilize this ESLint config
        extends: ['@stellar-expert/eslint-config-react'],
        //provide paths to ignore
        ignorePatterns: ['distr/', 'node_modules/'],
        //define project-specific globals if any
        globals: {},
        //ovveride some rules if needed
        rules: {
            'react/no-typos': 'error'
        }
    }
    
  • Have fun 🚀

FAQs

Package last updated on 21 Dec 2023

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