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
2
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

  • 0.0.6
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
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 04 Jan 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