18 Commits

Author SHA1 Message Date
Jake Teton-Landis
dbbf71bd71 eslintrc extends eslint-config-airbnb 2015-07-30 15:08:47 -07:00
Jake Teton-Landis
2f55be7cc3 [eslint] move .eslintrc into packages/eslint-config-airbnb 2015-07-30 14:47:42 -07:00
Jake Teton-Landis
1b212cf5b9 Merge pull request #431 from pascalduez/pr__update_eslint_config
Update ESlint deprecated rules
2015-07-30 14:12:39 -07:00
Tomek Wiszniewski
3c260d8e8a Get rid of no-reserved-keys in the .eslintrc
After all [point 8.2](https://github.com/airbnb/javascript/tree/63bece1#3.2) allows them in an ES 2015+ environment.
2015-07-29 20:32:19 +02:00
Pascal Duez
2af7a5607e Update deprecatd rules
- no-wrap-func -> no-extra-parens
- spaced-line-comment -> spaced-comment
2015-07-20 12:05:58 +02:00
Vladimir Starkov
ac8ff6539f add constructor
See details here http://babeljs.io/blog/2015/06/07/react-on-es6-plus/
2015-07-16 12:34:25 +02:00
Frederick Silva
8370c03902 fixed additional trailing comma - close #393 2015-07-06 15:13:47 -03: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
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
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
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
Baraa Hamodi
a6796f0098 Update .eslintrc
Just a consistency thing. :)
2015-05-27 23:58:29 -07:00
Jake Teton-Landis
20c4d37b33 add eslint rules for JSX style from issue #345 2015-05-18 11:55:36 -07:00
Nikita Gusakov
15c947b48b Allow dot-notation keywords in eslint
ES6 gives us promises, which have `.catch` method. Other Promise implementation also uses `try` and `finally` methods, which are also reserved keywords ([bluebird](https://github.com/petkaantonov/bluebird/blob/master/API.md)).
2015-04-25 18:24:58 +03:00
Harrison Shoff
91d56b6874 [eslint] fix whitespace, silence underscore dangle 2015-04-19 15:34:51 -07:00
Harrison Shoff
b694fedccd [linters] update .eslintrc 2015-04-18 17:58:26 -07:00