Socket
Socket
Sign inDemoInstall

@feedzai/eslint-config-feedzai-react

Package Overview
Dependencies
0
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @feedzai/eslint-config-feedzai-react

Feedzai's React ESLint extensible configuration


Version published
Maintainers
6
Created

Readme

Source

eslint-config-feedzai-react

Build Status

This configuration extends the @feedzai/eslint-config-feedzai and includes the rules for React, a11y and Jest. This package requires eslint, @feedzai/eslint-config-feedzai, eslint-plugin-import, eslint-plugin-jest, eslint-plugin-jsx-a11y and eslint-plugin-react.

Usage

Installing package dependencies

In order to list the correct versions of each package you could use this command:

npm info "@feedzai/eslint-config-feedzai-react@latest" peerDependencies

After this command, you can install those packages manually or if you're using the npm version > 5 you could use this shortcut:

npx install-peerdeps --dev @feedzai/eslint-config-feedzai-react

If you want to do all manually you should use:

npm install --save-dev @feedzai/eslint-config-feedzai-react eslint@^#.#.# @feedzai/eslint-config-feedzai@^#.#.# eslint-plugin-import@^#.#.# eslint-plugin-jest@^#.#.# eslint-plugin-jsx-a11y@^#.#.# eslint-plugin-react@^#.#.#

Using Feedzai's ESLint configurations in your .eslintrc file

Add "extends": "@feedzai/eslint-config-feedzai-react"

Development tasks

You can check if this packages follow our coding style conventions by using npm run lint.

Deployment tasks

The available commands are:

  • deploy:major - creates a git tag and publish the X.0.0 version. This command should be executed only in the master branch.
  • deploy:minor - creates a git tag and publish the X.Y.0 version. This command should be executed in the hot-fix branches (hf-X.x.x).
  • deploy:patch - creates a git tag and publish the X.Y.Z version. This command should be executed in the hot-fix branches (hf-X.x.x).

Keywords

FAQs

Last updated on 26 Jan 2023

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