eslint-plugin-primer-react

4.1.2 • Public • Published

eslint-plugin-primer-react

npm package

ESLint rules for Primer React

Installation

  1. Assuming you already have ESLint and Primer React installed, run:

    npm install --save-dev eslint-plugin-primer-react
    
    # or
    
    yarn add --dev eslint-plugin-primer-react
  2. In your ESLint configuration file, extend the recommended Primer React ESLint config:

    {
      "extends": [
        // ...
        "plugin:primer-react/recommended"
      ]
    }

Rules

Readme

Keywords

Package Sidebar

Install

npm i eslint-plugin-primer-react

Weekly Downloads

11,470

Version

4.1.2

License

MIT

Unpacked Size

202 kB

Total Files

55

Last publish

Collaborators

  • joshblack
  • siddharthkp
  • camertron
  • hectahertz
  • broccolini
  • jonrohan
  • joelhawksley
  • primer-css
  • colebemis
  • manuelpuyol
  • smockle
  • simurai
  • khiga8