javascript
javascript copied to clipboard
Eventbrite JavaScript coding style guide
Eventbrite JavaScript Coding Style Guide
Eventbrite's ESLint guidelines to ensure consistency in JavaScript code.
Intended Audience
This coding style guide has been created for Eventbrite developers, but is certainly applicable for the general JavaScript community as well. It is heavily inspired by Airbnb's JavaScript Style Guide.
Table of Contents
- ESLint Configurations
- General guidelines
- ES6+
- React & JSX
- Testing React
- Legacy ES5
- Backbone & Marionette
- Resources
- License
ESLint Configurations
Eventbrite has 3 ESLint configuration packages that you can extend:
-
eslint-config-eventbrite
: base ESLint config that lints ES6+/ES2015+ -
eslint-config-eventbrite-react
: extendseslint-config-eventbrite
, also linting React & JSX -
eslint-config-eventbrite-legacy
: ESLint config that lints legacy ES5-
Resources
Coming soon...
License
MIT. Copyright (c) 2017 Eventbrite.