You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

eslint-config-eventbrite-react

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-eventbrite-react

Eventbrites's ESLint config that lints React & JSX, adhering to the Eventbrite JavaScript Coding Style Guide

6.0.0
latest
Version published
Weekly downloads
528
46.26%
Maintainers
2
Weekly downloads
 
Created

eslint-config-eventbrite-react

version downloads Maintenance Status

PRs Welcome license

Eventbrite's ESLint config that lints React & JSX, adhering to the Eventbrite JavaScript Coding Style Guide.

Usage

This ESLint configuration requires eslint, babel-eslint, eslint-plugin-babel, eslint-plugin-import, eslint-plugin-react, eslint-plugin-jsx-a11y and eslint-plugin-jest.

Install using npm:

npm install --save-dev eslint@^4.19.1 babel-eslint@^8.2.3 eslint-plugin-babel@^5.1.0 eslint-plugin-import@^2.11.0 eslint-plugin-react@^7.7.0 eslint-plugin-jsx-a11y@^6.0.3 eslint-plugin-jest@^21.15.1 eslint-config-eventbrite-react

...or using yarn:

yarn add --dev eslint@^4.19.1 babel-eslint@^8.2.3 eslint-plugin-babel@^5.1.0 eslint-plugin-import@^2.11.0 eslint-plugin-react@^7.7.0 eslint-plugin-jsx-a11y@^6.0.3 eslint-plugin-jest@^21.15.1 eslint-config-eventbrite-react

Extend eslint-config-eventbrite-react in your .eslintrc.json:

{
    "extends": "eventbrite-react"
}

NOTE: This configuration extends eslint-config-eventbrite and plugin:react/recommended'.

Contributing

Thank you for your willingness to contribute! 😀

Although eslint-config-eventbrite-react is a public package, its primary purpose is for linting Eventbrite's React JavaScript code. Therefore, it is unlikely that we'll accept changes to rules as they may adversely affect the linting of our own code. However, we do welcome fixes for errors or additions for omissions.

If you are uncertain as to whether your suggestion qualifies, go ahead and submit a Pull Request and we'll let you know. Thanks again!

License

The library is available as open source under the terms of the MIT License.

Thanks

Many thanks to Airbnb and their example eslint-config-airbnb.

FAQs

Package last updated on 25 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts