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

eslint-config-jonyamo-react

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-jonyamo-react

[React](https://reactjs.org/) specific [ESLint](https://eslint.org) and [Prettier](https://prettier.io) configuration.

  • 0.1.1
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-jonyamo-react

React specific ESLint and Prettier configuration.

Installation

Install ESLint and Prettier:

$ yarn add eslint prettier --dev

Install this package:

$ yarn add eslint-config-jonyamo-react --dev

Configuration

Add an extends section to your .eslintrc (or equivalent) and specify jonyamo-react as an extended configuration. Rules can be adjusted by overriding them in the rules section. E.g.:

// .eslintrc.js

module.exports = {
    extends: ['jonyamo-react'],
    rules: {
        'react/jsx-curly-newline': 'off',
    },
};

Create React App

For apps built with create-react-app, in order to extend the included base config follow these instructions, which basically state:

  1. In .env set:
EXTEND_ESLINT=true
  1. In package.json:
{
    "eslintConfig": {
        "extends": ["react-app", "jonyamo-react"]
    }
}

FAQs

Package last updated on 14 May 2020

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