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

eslint-config-os-team-react-native

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-os-team-react-native

ESLint rules for React Native, including TypeScript.

  • 1.1.3
  • npm
  • Socket score

Version published
Weekly downloads
455
decreased by-60.23%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-os-team-react-native

ESLint rules for React Native, including TypeScript.

Uses the eslint-config-airbnb-typescript package to implement Airbnb JavaScript Style Guide.

Contains additional recommended rules for:

  • Jest.
  • Promise.
  • Typescript.
  • Prettier.
  • React Native.

Installation

Step 1. Install the package

Install the exact version (-E) of the package in devDependencies (-D) using the following command:

yarn add -DE eslint-config-os-team-react-native

Step 2. Install ESLint plugins

ESLint plugins used by this config must be installed withing your project using the following command:

npx install-peerdeps -D eslint-config-os-team-react-native

Step 3. Extend your .eslintrc

Add "extends": "os-team-react-native" to your .eslintrc file and set parserOptions.project to the path of your tsconfig.json.

{
  "extends": "os-team-react-native",
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}

Keywords

FAQs

Package last updated on 28 Dec 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