Eventbrite's ESLint config that lints React & JSX, adhering to the Eventbrite JavaScript Coding Style Guide.
This ESLint configuration requires eslint, eslint-plugin-react, eslint-plugin-jsx-a11y and babel-eslint.
Install eslint, eslint-plugin-react, eslint-plugin-jsx-a11y, babel-eslint & eslint-config-eventbrite-react dependencies:
npm install --save-dev eslint eslint-plugin-react eslint-plugin-jsx-a11y babel-eslint eslint-config-eventbrite-reactExtend eslint-config-eventbrite-react in your .eslintrc.json:
{
"extends": "eventbrite-react"
}NOTE: This configuration extends eslint-config-eventbrite and plugin:react/recommended'.
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!
MIT. Copyright (c) 2016 Eventbrite.
Many thanks to Airbnb and their example eslint-config-airbnb.