Socket
Socket
Sign inDemoInstall

@bitrise/eslint-plugin

Package Overview
Dependencies
3
Maintainers
7
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @bitrise/eslint-plugin

An eslint plugin containing our shared configuration based on eslint-config-airbnb and eslint-config-airbnb-typescript.


Version published
Weekly downloads
433
increased by54.09%
Maintainers
7
Created
Weekly downloads
 

Readme

Source

ESLint plugin

An eslint plugin containing our shared configuration based on eslint-config-airbnb and eslint-config-airbnb-typescript.

Usage

Add plugin:@bitrise/config to extends in your eslint config. As this config uses @typescript-eslint you'll need to configure parserOptions.project with the tsconfig.json file(s) you'd like to use.

Details

  • uses eslint-plugin-prettier to format code, using an embedded configuration, meaning no .prettierrc is needed
  • overrides a few react related rules
  • adds a single rule, @bitrise/ban-react-fc
    • This is a simple wrapper using @typescript-eslint/ban-types to prevent the usage of React.FC and React.FunctionComponent. This way consumers of the configuration can still use this rule to ban other types without having to copy-paste these options.
  • includes configurations from eslint-plugin-testing-library and eslint-plugin-jest to enforce rules regarding testing

FAQs

Last updated on 03 Jun 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc