Socket
Socket
Sign inDemoInstall

@redturtle/eslint-config-react

Package Overview
Dependencies
262
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @redturtle/eslint-config-react

Shared eslint config for js projects that include react


Version published
Maintainers
2
Install size
11.5 kB
Created

Changelog

Source

1.0.2 - (2021/04/08)

  • Upgraded @redturtle/eslint-config to 3.0.1 [pnicolli]
  • Fix syntax for extending base config [pnicolli]

Readme

Source

RedTurtle - eslint-config-react

Build Status

This package provides the RedTurtle default eslint-config, with added react rules.

Installation and usage

Install with yarn or npm:

# Yarn
$ yarn add --dev @redturtle/eslint-config-react

# Npm
$ npm install --save-dev @redturtle/eslint-config-react

If you don't have those already, install peer dependencies:

# Yarn
$ yarn add --dev babel-eslint eslint eslint-config-prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks prettier

# Npm
$ npm install --save-dev babel-eslint eslint eslint-config-prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks prettier

Extend this config in your .eslintrc file:

{
  "extends": "@redturtle/react"
}

Keywords

FAQs

Last updated on 08 Apr 2021

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