You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

eslint-config-fbjs-opensource

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-fbjs-opensource

This configuration is a new ideal setup based on Facebook's internal configurations combined with the configurations that our open source projects are trending towards in a more modern code base. In particular, this is strongly based on Nuclide's ESLint r

3.0.0
latest
Source
npmnpm
Version published
Weekly downloads
214
120.62%
Maintainers
4
Weekly downloads
 
Created
Source

eslint-config-fbjs-opensource

This configuration is a new ideal setup based on Facebook's internal configurations combined with the configurations that our open source projects are trending towards in a more modern code base. In particular, this is strongly based on Nuclide's ESLint rules. It has far more rules enabled than our other configuration and enforces a stricter style.

Usage

Install:

npm

npm install --save-dev eslint eslint-config-fbjs-opensource

yarn

yarn add --dev eslint eslint-config-fbjs-opensource

Configure

Add extends: 'fbjs-opensource' to your local .eslintrc

Warning Configuration

This package also comes with a warning version of the config. This can be used to make all rules that would normally be reported as errors to be reported as warnings.

Use extends: 'fbjs-opensource/warning' in your .eslintrc

FAQs

Package last updated on 11 Jul 2022

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