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

@bryan-hoang/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

@bryan-hoang/eslint-config-react

My personal ESLint shareable config for React.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source
ESLint's Logo

@bryan-hoang/eslint-config-react · CI Status npm GitHub license PRs Welcome lerna Conventional Commits Commitizen friendly semantic-release

My approach to JavaScript linting

This package provides my base React .eslintrc as an extensible shared config.

Installing / Getting started

  1. Installing the packages

If using npm 7+, run

npm install --save-dev @bryan-hoang/eslint-config-react

which will also install its associated peer dependencies.

If not using npm 7+, run the above command and then install the packages listed by the command:

npm info @bryan-hoang/eslint-config-react@latest peerDependencies

If using npm 5+, use this shortcut

npx install-peerdeps --dev @bryan-hoang/eslint-config-react

If using yarn, you can also use the shortcut described above if you have npm 5+ installed on your machine, as the command will detect that you are using yarn and will act accordingly. Otherwise, run npm info "eslint-config-airbnb-base@latest" peerDependencies to list the peer dependencies and versions, then run yarn add --dev <dependency>@<version> for each listed peer dependency.

  1. Extending the configuration

Once the config is installed, add "extends": "@bryan-hoang/eslint-config-react" to your .eslintrc file.

Contributing

Take a look at the README.md and CONTRIBUTING.md for the monorepo.

Licensing

MIT License

Copyright (c) 2021 Bryan Hoang

See LICENSE.

Keywords

FAQs

Package last updated on 16 Feb 2021

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