Skip to content

Commit

Permalink
adding editorconfig information
Browse files Browse the repository at this point in the history
  • Loading branch information
jamsyoung committed Jun 9, 2014
1 parent d4afde9 commit 55e291f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
* Stephan Lindauer [@stephanlindauer](http://twitter.com/stephanlindauer), [github](https://github.com/stephanlindauer)
* Thomas P [@dragon5689](https://twitter.com/dragon5689) [github](https://github.com/dragon5689)
* Yotam Ofek [@yotamofek](https://twitter.com/yotamofek) [github](https://github.com/yotamofek)
* Aleksandr Filatov [@greybax] (http://twitter.com/greybax), [github](https://github.com/greybax)
* Aleksandr Filatov [@greybax](http://twitter.com/greybax), [github](https://github.com/greybax)
* James Young [@jamsyoung](http://twitter.com/jamsyoung), [github](https://github.com/jamsyoung)



Expand Down Expand Up @@ -78,6 +79,7 @@
* [jshint](http://jshint.com/)
* [jslint](http://jslint.org/)
* [eslint](http://eslint.org/)
* [Editorconfig](http://editorconfig.org/)

## Get Smart

Expand Down Expand Up @@ -155,6 +157,7 @@ The following sections outline a _reasonable_ style guide for modern JavaScript
- Eliminating end of line whitespace
- Eliminating blank line whitespace
- Commits and diffs that are easier to read
- Use [Editorconfig](http://editorconfig.org/) when possible. It supports most IDEs and handles most whitespace settings.


2. <a name="spacing">Beautiful Syntax</a>
Expand Down Expand Up @@ -261,7 +264,7 @@ The following sections outline a _reasonable_ style guide for modern JavaScript
// 2.B.1.3
// var statements should always be in the beginning of their respective scope (function).
// Bad
function foo() {
Expand All @@ -279,10 +282,10 @@ The following sections outline a _reasonable_ style guide for modern JavaScript
// all statements after the variables declarations.
}
// 2.B.1.4
// const and let, from ECMAScript 6, should likewise be at the top of their scope (block).
// Bad
function foo() {
let foo,
Expand Down

0 comments on commit 55e291f

Please sign in to comment.