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

@iden3/eslint-config-react-ts

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iden3/eslint-config-react-ts

Strict & opinionated ESLint config for React/Typescript projects.

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

eslint-config-react-ts

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

This config will ignore common directories and files in a React project:

  • node-modules
  • package-lock.json

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 @iden3/eslint-config-react-ts

Then, create an .eslintrc.json file in your frontend project extending the config and specifying your build directory inside the ignorePatterns array:

{
  "extends": "@iden3/eslint-config-react-ts",
  "ignorePatterns": ["build"]
}

Finally, check that everything works fine by running:

eslint --ext .ts,.tsx .

Keywords

FAQs

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