Commit Graph

585 Commits

Author SHA1 Message Date
Jake Teton-Landis
392a08a815 Merge pull request #505 from amsardesai/add-id-length
Added id-length rule to eslintrc
2015-09-16 15:59:11 +09:00
Ankit Sardesai
15780d5284 Added id-length documentation url 2015-09-14 17:26:16 -04:00
Ankit Sardesai
867bfdeace Added id-length rule to style guide 2015-09-12 21:05:50 -04:00
Josh Perez
69b86bd8c6 Merge pull request #502 from againer/patch-1
add semicolons to const declarations in 19.2
2015-09-11 14:57:48 -07:00
Al Pal
9405b1d396 add semicolons to const declarations in 19.2 2015-09-09 20:38:43 -07:00
Jake Teton-Landis
24dc126e4b Merge pull request #500 from Weblors/patch-4
Add to list of In the Wild organizations
2015-09-09 00:04:26 -07:00
Weblors
b043025bf6 Add to list of In the Wild organizations
Added Super as one of the organizations using the styleguide.
2015-09-09 12:33:18 +05:30
Harrison Shoff
0e7b56f0cf Merge pull request #497 from abrkn/master
Make eslintrc dependencies copy-pasteable
2015-09-04 10:26:43 -07:00
Andreas Brekken
5695dc12df Make eslintrc dependencies copy-pasteable 2015-09-04 09:35:23 -07:00
Josh Perez
39b6002bf3 Merge pull request #494 from johnmanong/default-parameters-last
Default parameters go last.
2015-08-31 15:34:46 -07:00
johnmanong
eeed55c154 [ong] swap order of new entry 2015-08-31 18:29:35 -04:00
johnmanong
701cbb954d [ong] Default parameters go last. 2015-08-30 14:19:20 -04:00
Jordan Harband
13d782f82e Merge pull request #492 from airbnb/no-export-prop-types
do not export propTypes
2015-08-28 14:05:25 -07:00
Jordan Harband
3307caf5a0 do not export propTypes
We decided to stick with the decision to not export `propTypes`, and leave them as only a static property on the default export.

/@josh-perez @gilbox
2015-08-28 13:57:30 -07:00
Jake Teton-Landis
8a628311ac Merge pull request #489 from hidace/master
update spelling to clarify JSX rather than JS
2015-08-27 20:55:07 -07:00
Dace Willmott
933b367e6c update spelling to clarify JSX rather than JS 2015-08-27 14:51:24 -04:00
Jake Teton-Landis
b72b00d9db Merge pull request #484 from aaronjensen/patch-2
Add no-undef
2015-08-23 23:20:45 -07:00
Aaron Jensen
c95af97e61 Add no-undef
Fixes #454
Fixes #473
2015-08-22 23:59:50 -07:00
Jake Teton-Landis
79bce5f8e1 Merge pull request #482 from justjake/master
eslint-config-airbnb 0.0.8
eslint-config-airbnb-v0.0.8
2015-08-21 20:35:10 -07:00
Harrison Shoff
4aab909b4d Merge pull request #481 from airbnb/harry/css
[other] add links to other style guides
2015-08-21 15:27:42 -07:00
Harrison Shoff
844d3cf38a [other] css/scss => CSS & Sass 2015-08-21 15:27:10 -07:00
Harrison Shoff
761bac606a [other] add links to other style guides 2015-08-21 15:08:09 -07:00
Jake Teton-Landis
64e13a20df eslint-config-airbnb 0.0.8 2015-08-21 14:22:03 -07:00
Jake Teton-Landis
fde9c12719 Merge pull request #479 from justjake/jake/some-small-issues
Modularize eslintrc, add tests
2015-08-19 14:10:12 -07:00
Jake Teton-Landis
2d90ebf11b update README with new package structure 2015-08-19 14:01:14 -07:00
Jake Teton-Landis
7646a8619b lint eslint-config-airbnb with eslint-config-airbnb/base 2015-08-19 14:00:53 -07:00
Jake Teton-Landis
048e22ea98 somewhat modularize eslint-config-airbnb; add some tests 2015-08-18 18:02:31 -07:00
Jordan Harband
425e1f9cb9 Merge pull request #478 from tayre/typo_fix
s/Javascript/JavaScript
2015-08-18 12:23:04 -07:00
Tom
6175c67a79 s/Javascript/JavaScript 2015-08-18 14:54:29 -04:00
Jake Teton-Landis
d2be5f3c74 Merge pull request #446 from tschuy/master
change second 18.5 to 18.6
2015-08-18 11:25:30 -07:00
Jake Teton-Landis
67c0f0ea7d Merge pull request #475 from airbnb/react_export_prop_types
Recommend exporting `propTypes` as a named export
2015-08-18 11:22:16 -07:00
Jake Teton-Landis
2c26413b61 Merge pull request #461 from slava-sh/patch-1
Put `everything-else` before `render`
2015-08-18 10:38:30 -07:00
Slava Shklyaev
0068cc1d6e Put custom component methods before render methods 2015-08-18 20:14:24 +03:00
Jordan Harband
c4fdbc2742 Recommend exporting propTypes as a named export
By exporting `propTypes` as a named export *as well* as attaching them to the "class", they can be explicitly imported by tests and other components in a way that aligns with the future ES6 module dependency graph, rather than as an arbitrary property that isn't statically verifiable. Doing both is great imo.

Thoughts?
2015-08-17 20:42:58 -07:00
Jake Teton-Landis
909fc8b5d7 Merge pull request #463 from nkt/feature/simplify-eslint-config
Simplify ESLint config package.
2015-08-14 17:44:20 -07:00
Harrison Shoff
fff3d6d48d Merge pull request #472 from tomekwi/implicit-return-#438
Implicit return + single expression
2015-08-13 09:44:17 -07:00
Tomek Wiszniewski
bfbb074ac9 Oops, keep to 13.1! 2015-08-13 08:51:04 +02:00
Tomek Wiszniewski
417f9896d0 Bring back explicit return in 8.1 example 2015-08-13 08:48:21 +02:00
Tomek Wiszniewski
60360bdedd Match 8.4 indentation to other rules 2015-08-13 08:43:59 +02:00
Tomek Wiszniewski
3aabe2c693 Upgrade half of 8.2 to another rule 2015-08-13 08:43:33 +02:00
Tomek Wiszniewski
5b8b56ece7 Upgrade a note about parens to another rule 2015-08-12 11:17:19 +02:00
Tomek Wiszniewski
5634c4c88e Update existing example 2015-08-12 11:14:53 +02:00
Tomek Wiszniewski
4957071107 Allow implicit return + one multiline expression 2015-08-12 11:14:51 +02:00
Harrison Shoff
9e40dd1001 Merge pull request #471 from comparaonline/add-comparaonline
Add ComparaOnline to 'In The Wild' List
2015-08-11 13:43:09 -07:00
Choon-ho Yoon
52a3344043 Add ComparaOnline to 'In The Wild' List 2015-08-11 17:27:02 -03:00
Josh Perez
6b1239b0c9 Merge pull request #467 from chrisngobanh/master
Updated 25.1 to include a case with a lookup that has a hyphen in the classname
2015-08-10 11:29:36 -07:00
Jordan Harband
ce0ce5eac3 Merge pull request #468 from udivankin/patch-1
deleted unnecessary whitespace after property key
2015-08-10 11:11:41 -07:00
allx
1e2ed0b069 Update README.md
deleted unnecessary whitespace after property key
2015-08-10 14:26:43 +03:00
Christopher Banh
e8b87a5e21 Updated 25.1 to include a case with a hyphen in the classname 2015-08-09 20:30:41 -07:00
Nikita Gusakov
20b6913202 Simplify ESLint config package.
This patch moves `.eslintrc` contents into `index.js` directly.
This allows us to drop external dependencies and using javascript
comments instead of not valid JSON.
2015-08-08 17:46:56 +03:00