Ryan McBride
a048ebf22e
Added info on other implementation of Function constructor
...
Added per comment in PR #396
2015-07-14 20:17:00 -07:00
Ryan McBride
f1d5243691
changed to single quotes to match style
2015-07-14 15:26:17 -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
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
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
Jake Teton-Landis
c3a94c15fd
add keyword "eslintconfig" to eslint-config-airbnb
2015-05-23 18:56:39 -07:00
Jake Teton-Landis
1676f2b1dc
bump eslint-config-airbnb version to 0.0.2
2015-05-22 11:06:37 -07:00
Jake Teton-Landis
f2da99e058
manually load commented JSON
2015-05-22 11:06:16 -07:00
Jake Teton-Landis
6b40c838fb
create package eslint-config-airbnb
2015-05-22 10:38:21 -07:00
Josh Perez
5cbb666427
Merge pull request #347 from airbnb/goatslacker-patch-1
...
Amend the arrow function rules
2015-05-18 14:40:50 -07:00
Josh Perez
cbcb09f990
Update README.md
2015-05-18 14:40:41 -07:00
Jake Teton-Landis
7ac20d6249
Merge pull request #346 from justjake/jake/eslint-react
...
add eslint rules for JSX style from issue #345
2015-05-18 14:21:08 -07:00
Josh Perez
a5704787e4
Amend the arrow function rules
...
This allows one to omit parens whenever it fits into a single line, which is similar to our if statement rules.
2015-05-18 14:09:46 -07:00