@calblueprint/eslint-config-react

0.0.3 • Public • Published

eslint-config-react

npm version

This package provides a shared ESLint configuration for use on React projects.

Usage

  1. Install this package as a development dependency:

    # with npm
    npm install --save-dev @calblueprint/eslint-config-react
    
    # with yarn
    yarn add --dev @calblueprint/eslint-config-react
  2. Install peer dependencies:

    # with npm or yarn
    npx install-peerdeps --dev @calblueprint/eslint-config-react
  3. Use the shared ESLint config in your project's .eslintrc.js:

    module.exports = {
      extends: ['@calblueprint/eslint-config-react'],
    };
  4. Test that the config is working by running npx eslint . in your project's root directory.

Readme

Keywords

none

Package Sidebar

Install

npm i @calblueprint/eslint-config-react

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

3.34 kB

Total Files

3

Last publish

Collaborators

  • wangannie
  • ethanlee16
  • francogments
  • calblueprint-npm