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

@ajsr/eslint-config-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

@ajsr/eslint-config-react

ESLint, Prettier and Airbnb style guide in React JS projects

  • 1.0.0
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

eslint-config-react

ESLint, Prettier and Airbnb style guide in React JS projects.

Quick start

1 Install

Use yarn or npm to install dependencies:

yarn add @ajsr/eslint-config-react --dev
npm i @ajsr/eslint-config-react --save-dev

2 Configure ESLint

In a new file .eslintrc.json set this ESLint configuration:

{
    "extends": [
        "@ajsr/eslint-config-react"
    ]
}

Create a new file .eslintignore and include this content:

build
dist
node_modules
lol

3 Needed VSCode extensions

  • VS Code ESLint extension: https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint
  • Prettier Formatter for Visual Studio Code: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

Interesting stuff to read

License

MIT licensed.

Keywords

FAQs

Package last updated on 07 Jan 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