Skip to content

bravissimolabs/eslint-config-bravissimo-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-bravissimo-react

This is the ESLint configuration for Bravissimo projects that utilise React. It's based off Airbnb's style guide.

Rules

There is currently just one difference to the base Airbnb React rules:

Installation

$ npm install --save-dev \
    eslint@^3.2.2 \
    eslint-plugin-babel@^3.3.0 \
    eslint-plugin-import@^1.12.0 \
    eslint-plugin-jsx-a11y@^2.0.1 \
    eslint-plugin-react@^6.0.0 \
    eslint-config-bravissimo-react@^2.0.0

Usage

Add the following lines to your package.json:

"eslintConfig": {
  "extends": [
    "bravissimo-react"
  ]
},

Alternatively, add the following to an .eslintrc file in your project root:

{
  "extends": "bravissimo-react"
}

More information

Full details on configuring and using ESLint can be found on the ESLint User Guide.

About

ESLint configuration for Bravissimo projects using React

Resources

Stars

Watchers

Forks

Packages

No packages published