@bilue/eslint-config-react

0.1.0 • Public • Published

Bilue Logo

@bilue/eslint-config-react

npm (scoped)

This package provides an opinionated ESLint preset for React projects using TypeScript, intended to be used for all of our React projects at Bilue.

Installation

# Yarn
yarn add --dev @bilue/eslint-config-react

# npm
npm save --dev @bilue/eslint-config-react

Usage

In your ESLint configuration, usually an .eslintrc file at the root of your project, add the following:

{
  "extends": "@bilue/react"
}

Features

  • Support for linting TypeScript files
  • Sensible default rules for linting React projects
  • Rules to enforce proper accessibility annotations
  • Rules to ensure common mistakes are avoided when using React hooks
  • Integration with Prettier

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @bilue/eslint-config-react

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    2.96 kB

    Total Files

    5

    Last publish

    Collaborators

    • bilue-ci
    • rhysforyou