meteor/javascript

Name: javascript

Owner: Meteor

Description: JavaScript Style Guide

Forked from: airbnb/javascript

Created: 2015-06-25 03:11:54.0

Updated: 2017-09-06 23:59:24.0

Pushed: 2017-11-12 14:59:54.0

Homepage: null

Size: 671

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

![Gitter](https://badges.gitter.im/Join Chat.svg)

Airbnb JavaScript Style Guide, Meteor edition

A mostly reasonable approach to JavaScript, with some Meteor flavor

All rules that are automatically linted have the ESLint logo, with a link to the rule, like so: linted by eslint

Table of Contents
  1. Types
  2. References
  3. Objects
  4. Arrays
  5. Destructuring
  6. Strings
  7. Functions
  8. Arrow Functions
  9. Constructors
  10. Modules
  11. Iterators and Generators
  12. Properties
  13. Variables
  14. Hoisting
  15. Comparison Operators & Equality
  16. Blocks
  17. Comments
  18. Whitespace
  19. Commas
  20. Semicolons
  21. Type Casting & Coercion
  22. Naming Conventions
  23. Accessors
  24. Events
  25. jQuery
  26. ECMAScript 5 Compatibility
  27. ECMAScript 6 Styles
  28. Testing (in AirBnB guide)
  29. Performance (in AirBnB guide)
  30. Resources (in AirBnB guide)
  31. In the Wild (in AirBnB guide)
  32. Translation (in AirBnB guide)
  33. The JavaScript Style Guide Guide (in AirBnB guide)
  34. Chat With Us About Javascript (in AirBnB guide)
  35. Contributors
  36. License
Types

This section has been eliminated in the Meteor version, because it does not specify any style rules.

References

? back to top

Objects

? back to top

Arrays

? back to top

Destructuring

? back to top

Strings

? back to top

Functions

? back to top

Arrow Functions

? back to top

Constructors

? back to top

Modules

? back to top

Iterators and Generators

? back to top

Properties

? back to top

Variables

? back to top

Hoisting

? back to top

Comparison Operators & Equality

? back to top

Blocks

? back to top

Comments

? back to top

Whitespace

? back to top

Commas

? back to top

Semicolons

? back to top

Type Casting & Coercion

? back to top

Naming Conventions

? back to top

Accessors

? back to top

Events
jQuery

? back to top

ECMAScript 5 Compatibility

? back to top

ECMAScript 6 Styles

? back to top

Contributors
License

(The MIT License)

Copyright (c) 2014 Airbnb

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

? back to top

};


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.