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

@react-native-community/eslint-config

Package Overview
Dependencies
Maintainers
31
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-community/eslint-config

ESLint config for React Native

  • 3.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
613K
increased by5.19%
Maintainers
31
Weekly downloads
 
Created

What is @react-native-community/eslint-config?

@react-native-community/eslint-config is an ESLint configuration package specifically tailored for React Native projects. It provides a set of linting rules and configurations that help maintain code quality and consistency in React Native applications.

What are @react-native-community/eslint-config's main functionalities?

Standard React Native Linting Rules

This feature provides a standard set of linting rules for React Native projects. By extending the @react-native-community configuration, you can ensure that your code adheres to best practices and common conventions in the React Native community.

{
  "extends": ["@react-native-community"]
}

Integration with Prettier

This feature allows you to integrate Prettier with ESLint, ensuring that your code is not only linted but also formatted according to Prettier's rules. This helps in maintaining a consistent code style across your project.

{
  "extends": ["@react-native-community", "prettier"],
  "plugins": ["prettier"],
  "rules": {
    "prettier/prettier": "error"
  }
}

Customizable Rules

This feature allows you to customize the linting rules according to your project's needs. You can override the default rules provided by @react-native-community to better fit your development workflow.

{
  "extends": ["@react-native-community"],
  "rules": {
    "no-console": "warn",
    "react-native/no-inline-styles": "off"
  }
}

Other packages similar to @react-native-community/eslint-config

FAQs

Package last updated on 03 Nov 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