New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hermeznetwork/eslint-config-hermez

Package Overview
Dependencies
Maintainers
7
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hermeznetwork/eslint-config-hermez

Shared ESLint config for all the frontends projects in Hermez

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-80%
Maintainers
7
Weekly downloads
 
Created
Source

eslint-config-hermez

This repo contains a shareable ESLint config to share across all the frontend projects in the Hermez organization. It has been designed to work with TypeScript and React.

This config will ignore common directories in a React project created with create-react-app:

  • node-modules
  • build
  • public

Setup

First of all, you will need to install the peerDependencies:

npm i react typescript eslint

After that, you'll be able to install the package without warnings:

npm i @hermeznetwork/eslint-config-hermez

Then, create an .eslintrc.json file in your frontend project with this content:

{
  "extends": "@hermeznetwork/eslint-config-hermez"
}

Check that everything works fine:

eslint --ext .ts,.tsx .

Keywords

FAQs

Package last updated on 10 Mar 2022

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