Socket
Socket
Sign inDemoInstall

@uniswap/eslint-config

Package Overview
Dependencies
Maintainers
19
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uniswap/eslint-config

Uniswap ESLint config


Version published
Weekly downloads
3.8K
increased by3.28%
Maintainers
19
Weekly downloads
 
Created
Source

@uniswap/eslint-config

Uniswap ESLint config to enforce coding standards and best practices.

  • TypeScript and Jest support
  • Seamless Prettier integration
  • Separate environments for Node.js and React

Installation

yarn add --dev eslint @uniswap/eslint-config

Usage

Make sure to include require('@uniswap/eslint-config/load') at the top of your ESLint config. This loads a @rushstack/eslint-patch/modern-module-resolution patch so that ESLint loads any plugins installed by this package.

require('@uniswap/eslint-config/load')

module.exports = {
  extends: '@uniswap/eslint-config/node'
}

or:

require('@uniswap/eslint-config/load')

module.exports = {
  extends: '@uniswap/eslint-config/react'
}
VSCode

If you're a VSCode user, consider installing the official ESLint plugin and copying ./.vscode/settings.json to your own .vscode/settings.json configuration file. This will automatically run eslint --fix on save.

Keywords

FAQs

Package last updated on 09 May 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

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