1985 Commits

Author SHA1 Message Date
Harrison Shoff
ef7b5cc64b Merge pull request #403 from jonchretien/typo-fixes
fixed typos & removed dead link
2015-07-06 09:14:15 -07:00
Jon Chretien
81f5d8d489 fixed typos & removed dead link 2015-07-06 10:59:04 -04:00
Harrison Shoff
d9b87de58c Merge pull request #398 from Ryan-McBride/patch-4
Fixed typo in 13.4
2015-07-04 15:40:23 -07:00
Josh Perez
060944d61f Merge pull request #399 from Ryan-McBride/patch-5
Fixed typo in 19.2
2015-07-04 11:41:14 -07:00
Ryan McBride
23b3f4b8f9 Fixed typo in 19.2
'modern' was spelled as 'mordern' in both the good and bad examples of section 19.2
2015-07-04 10:56:16 -07:00
Ryan McBride
13fe13bb37 Fixed typo in 13.4
A comment in the example of section 13.4 had 'unnecessary' spelled as 'unnessary'
2015-07-04 10:48:44 -07:00
Jordan Harband
70024df2c3 Merge pull request #397 from Ryan-McBride/patch-3
Fixed typo in 9.4
2015-07-04 10:39:03 -07:00
Ryan McBride
4eea06235b Fixed typo in 9.4
Line read `contructor(options = {}) {` 

Edited to `constructor(options = {}) {`

No other lines were edited or changed.
2015-07-04 10:36:18 -07:00
Ryan McBride
27d388d946 Update to warn against Function constructor
Added section 7.9 to warn against using the Function creator, as it opens similar vulnerabilities as eval.
Originally suggested in pull request #395.

No other lines were edited or removed.
2015-07-04 10:19:14 -07:00
Ryan McBride
a513163d46 Update to include warning against using eval.
Added 6.5 to strings section of Readme in order to explicitly warn against using eval(). Listed in ticket #118.
2015-07-03 19:50:52 -07:00
Harrison Shoff
8d2a833857 Merge pull request #384 from bettiolo/master
Extended links to rules and plugins
2015-07-02 09:39:29 -07:00
Marco Bettiolo
383b6a67cf Added links to JSX plugin's documentation and some links to env documentation and plugins repositories 2015-07-02 15:55:04 +01:00
Jake Teton-Landis
49f9a56c35 Merge pull request #380 from rodocite/master
Added Back to Top link for In The Wild section
2015-07-01 19:48:01 -07:00
Jake Teton-Landis
7b336c737e Merge pull request #382 from framini/patch-2
Fix doc url and typo
2015-07-01 13:44:19 -07:00
Francisco Ramini
7b64a9dc1c fix doc url and little typo 2015-07-01 17:27:20 -03:00
Harrison Shoff
a8823a4565 Merge pull request #381 from dimitardanailov/patch-5
Change style guide of point 23.3
2015-07-01 09:53:34 -07:00
Dimitar Danailov
592223611f Change style guide of point 23.3 2015-07-01 16:22:55 +03:00
Rodolfo Yabut
4a19aa8575 Fix Back to Top link spacing 2015-07-01 06:20:05 -07:00
Rodolfo Yabut
0627472f55 Add Back to Top link 2015-07-01 06:17:56 -07:00
Josh Perez
8281437430 Merge pull request #375 from mdarse/patch-1
Fix typo
2015-06-30 10:00:24 -07:00
Mathieu Darse
ae84fbe007 Fix typo 2015-06-30 12:40:05 +02:00
Harrison Shoff
10f6d6a0d2 Merge pull request #332 from tomekwi/patch-5
Allow reserved words as keys in ES6 module context
2015-06-25 14:21:48 -07:00
Tomek Wiszniewski
ee899996b6 Allow reserved words as keys in ES6 module context
`<script type="module">` and *node*/*iojs* code imply full support of ES5.

Code transpiled by *babel* is also perfecly safe:

```js
$ cat <<––– | babel
const superman = {
  default: { clark: 'kent' },
  private: true
};
–––
"use strict";

var superman = {
   "default": { clark: "kent" },
   "private": true
};
```
2015-06-25 23:20:00 +02:00
Josh Perez
38d228250c Merge pull request #374 from airbnb/horace/jsx-ext-for-react
Recommend using .jsx extension for React components, rather than .js
2015-06-25 12:02:27 -07:00
Horace Ko
d2792f27cb Recommend using .jsx extension for React components, rather than .js. 2015-06-25 11:54:22 -07:00
Harrison Shoff
128cb7b510 Merge pull request #373 from nkt/patch-1
Added "prefer-const" rule
2015-06-25 11:41:21 -07:00
Nikita Gusakov
b020a431b0 Added "prefer-const" rule
Added new ES6 rule, introduced in eslint 0.23.0
 > This rule is aimed to flag variables that are declared using let keyword, but never modified after initial assignment.
2015-06-25 16:31:27 +03:00
Jake Teton-Landis
a70000b0f0 Merge pull request #372 from 0xCMP/patch-1
Update .eslintrc with other react class properties
2015-06-24 14:28:44 -07:00
Chris Portela
fe42d0bfa3 Made single quotes to double quotes 2015-06-24 16:02:21 -04:00
Chris Portela
e9b59b76a5 Update .eslintrc with other react class properties
In `eslint-plugin-react`'s page on their sorting rules they show the order I showed here. https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/sort-comp.md#rule-options

I noticed because according to the current rules `contextTypes` goes below `render` and I also noticed other methods were missing from the list. Since we're being specific we should also include the other methods and properties that `eslint-plugin-react` handles by default.
2015-06-24 15:51:25 -04:00
Jordan Harband
2626e0ba91 Merge pull request #370 from ManojAMK/ManojAMK-patch-1
Updated JavaScript books list: add Eloquent
2015-06-23 10:11:19 -07:00
Manoj Kumar
26dd043414 Update README.md 2015-06-23 22:13:05 +05:30
Christophe Hurpeau
53ac64adf5 18.6: blocks and blank line: add example with array 2015-06-23 18:00:55 +02:00
Jake Teton-Landis
8599621c0f Merge pull request #357 from arianf/trailing-comma
added trailing comma
2015-06-19 16:01:09 -07:00
Harrison Shoff
7e480c1da3 Merge pull request #365 from tgolen/patch-1
Add Expensify to the list of organizations using this style guide
2015-06-17 20:32:10 +01:00
Tim Golen
25a2430dc6 Add Expensify to the list of organizations using this style guide 2015-06-17 13:30:29 -06:00
Harrison Shoff
a872822618 Merge pull request #352 from sivan/master
Change Chinese Translation to a newer version
2015-06-17 16:37:35 +01:00
Harrison Shoff
c5ed9096f9 Merge pull request #364 from aniss/master
update(README.md): added Airbnb Style .eslintrc link
2015-06-17 07:58:10 -07:00
Aniss Bouraba
1429a20c97 update(README.md): added Airbnb Style .eslintrc link 2015-06-17 12:29:48 +01:00
Josh Perez
2a1f4f4a9f Merge pull request #362 from carterchung/patch-1
Added missing period
2015-06-13 23:08:55 -07:00
Josh Perez
c43415ee30 Merge pull request #363 from carterchung/patch-2
Added bullet/indentation
2015-06-13 23:08:44 -07:00
Carter Chung
a2e235608c Added bullet/indentation
for consistency
2015-06-13 21:56:21 -07:00
Carter Chung
fb45e22b0e Added missing period 2015-06-13 21:54:29 -07:00
Josh Perez
6887c84ad7 Merge pull request #359 from ycavatars/master
add missing componentDidUpdate
2015-06-08 09:17:34 -07:00
ycavatars
7a7bec17f3 add missing componentDidUpdate 2015-06-08 12:56:32 +08:00
Arian Faurtosh
3946480334 added trailing comma 2015-05-31 20:16:39 -07:00
Jake Teton-Landis
f33e85e62d Merge pull request #356 from bhamodi/patch-1
Update .eslintrc: correct spacing of comment on line 56
2015-05-28 00:00:00 -07:00
Baraa Hamodi
a6796f0098 Update .eslintrc
Just a consistency thing. :)
2015-05-27 23:58:29 -07:00
Jake Teton-Landis
12e0bd463d Merge pull request #350 from justjake/jake/eslint-sharable-conf
Create package eslint-config-airbnb
2015-05-26 11:03:30 -07:00
Sun Xingfan
2539557e98 Change Chinese Translation to a more official like version
The current Chinese version translated by adamlu is a modified version which as he said change/delete some rules from the original and it's base on the version 2 years ago. I transalte a new version base on current style guide of es5 version.
2015-05-25 22:15:38 +08:00