Skip to content

calblueprint/shared-eslint-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published