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

@strv/eslint-config-react-native

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@strv/eslint-config-react-native

STRV's ESLint config for React Native projects

  • 3.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
130
increased by15.04%
Maintainers
4
Weekly downloads
 
Created
Source

@strv/eslint-config-react-native

STRV's ESLint config for React-Native projects

Suitable for linting React Native source files. This ruleset extends @strv/eslint-config-react.

This rulest includes accessibility rules, based on eslint-plugin-react-native-a11y.

Configurations

@strv/eslint-config-react-native

Suitable for linting React Native projects.

@strv/eslint-config-react-native/optional

Use this ruleset in conjunction with the above base ruleset. Provides additional insights into potential inconsistencies in the project. Extends @strv/eslint-config-react/optional.

For new projects, it is recommended to enable this ruleset. For existing projects, it is only recommended for the brave.

Coding styles

@strv/eslint-config-react-native/style

This ruleset includes rules which deal with how the code looks like and not how it works. It helps keeping the code clean and consistent. Extends @strv/eslint-config-react/style. 🎨

A full configuration for a React Native project:

// .eslintrc.js
'use strict'

module.exports = {
  extends: [
    '@strv/react-native',
    '@strv/react-native/optional',
    '@strv/react-native/style',
  ],
}

License

See the LICENSE file for information.

Keywords

FAQs

Package last updated on 23 Mar 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

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