Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

@bitrise/eslint-plugin

Package Overview
Dependencies
3
Maintainers
7
Versions
5
Issues
File Explorer

Advanced tools

@bitrise/eslint-plugin

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

    2.2.0latest
    npm

Version published
Maintainers
7
Weekly downloads
338
increased by7.99%

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 installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • 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