Jordan Harband
5aa203eaa8
[eslint config] [base] [deps] [breaking] require eslint v4
...
- enable `function-paren-newline`, `for-direction`, `getter-return`, `no-compare-neg-zero`, `semi-style`, `object-curly-newline`, `no-buffer-constructor`, `no-restricted-globals`, `switch-colon-spacing`, `template-tag-spacing`, `prefer-promise-reject-errors`, `prefer-restructuring`
- improve `indent`, `no-multi-spaces`, `no-trailing-spaces`, `no-underscore-dangle`
2017-09-01 22:25:31 -07:00
David Walsh
f5cd2869d3
[guide] [eslint config] [base] [breaking] Rules prohibiting global isNaN, isFinite.
...
- Update README with new Standard Library section.
2017-07-04 12:40:53 +10:00
koooge
5dec8272e0
[eslint config] [base] [breaking] move comma-dangle to Stylistic Issues
2017-08-03 17:57:58 +02:00
Jordan Harband
22672c1cdc
[eslint config] [new] add propWrapperFunctions default settings for eslint-plugin-react
2017-08-22 19:44:12 -07:00
Jordan Harband
f93ca2f71d
[eslint config] [deps] update eslint v4, eslint-plugin-react
2017-08-22 17:16:31 -07:00
Jordan Harband
db719a2033
[eslint config] [deps] update eslint-config-airbnb-base
2017-08-22 17:10:01 -07:00
Joe Lencioni
68cdc59362
[eslint config] [new] Enable react/jsx-closing-tag-location
2017-08-22 15:38:13 -07:00
Jordan Harband
f1cc91c88a
[eslint config] [base] v11.3.2
eslint-config-airbnb-base-v11.3.2
2017-08-22 15:54:17 -07:00
Jordan Harband
5637c8f4c0
[eslint config] [base] [deps] update eslint, tape
2017-08-22 15:43:40 -07:00
Dhruvdutt Jadhav
a79237b020
[guide] [react] add another “good” example
2017-08-17 22:54:31 +05:30
Max Kaplan
09988e34b4
[inthewild] adding kaplan komputing
2017-08-20 09:24:03 -04:00
Anton Vasyunin
855426b3db
Update section on naming conventions for acronyms
...
- Fix array name starting with a capital
- Add alternative good example
2017-08-18 00:05:21 +07:00
Wooram Jun
344c25d83a
Fix a wrong link
2017-08-17 15:35:14 +09:00
Mark Larah
1cddb4f2c0
[eslint config] [base] [patch] Add jest.config.js to import/no-extraneous-dependencies devDeps
2017-08-14 19:49:29 -07:00
Jordan Harband
6bd73560ee
[eslint config] [deps] update eslint v4, eslint-plugin-react, tape
2017-08-09 17:35:23 -07:00
Jared Deckard
b5e14dc5d0
Explain why default exports are preferred
2017-08-07 15:36:22 -05:00
marhub
dbdbde0b81
Remove polish translation
...
Remove link to polish translation as it's outdated ( last commit from 2-3 years ago ).
For example in polish translation you can read that you should use one "var" keyword to declare your vars.
example:
```js
// źle ( bad )
var items = getItems();
var goSportsTeam = true;
var dragonball = 'z';
// dobrze ( good )
var items = getItems(),
goSportsTeam = true,
dragonball = 'z';
```
2017-08-07 12:48:54 +02:00
Eric Pan
16faade698
[eslint config] [*] [docs] Specify yarn-specific install instructions
...
Attempts to clarify and address issue https://github.com/airbnb/javascript/issues/1508#issuecomment-319113807
Recommends yarn users to list peer dependencies and then install each peer dependency with specified version.
Prior yarn instructions led users to install the latest version of each peer dependency which, in some cases, led to errors if the latest version of a peer dependency did not have rules that this package uses.
2017-07-31 11:19:07 -07:00
Chris Atkin
e4f35ac959
Removing "GitHub" from In The Wild reference
...
This removes the word "GitHub" from an In The Wild reference link, to prevent association with the main GitHub organisation.
2017-07-31 17:12:27 +01:00
Will Clark
a206c52854
[eslint config] [base] [patch] Improve Gruntfile glob pattern
...
To cover `Gruntfile` and `Gruntfile.js` instead of just `Gruntfile`.
2017-07-25 11:41:34 +02:00
Jordan Harband
abeb313333
Merge pull request #1505 from asherdale/master
...
Update README, fixed badly-styled eslint links
2017-07-25 23:35:25 -07:00
Asher Dale
9393e6ab10
Update README, finished fixing eslint styling
...
Update README, finished fixing eslint styling (look at previous commit description for info).
2017-07-25 15:50:10 -04:00
Asher Dale
a371d73414
Update README, fixed badly-styled eslint links
...
There were links to eslint rules in a style that didn't match the style of the rest of the document. Specifically, most links in the document use the following style: "eslint: ['no-unneeded-ternary']", but there were badly styled links that looks like this: "eslint rule: ['no-unneeded-ternary']." Additionally, the badly styled links were on their own line, whereas all the other links are not placed on their own line.
2017-07-25 15:46:30 -04:00
Asher Dale
3cc6269c86
Updated README, deleted extra 'back to top'
...
There was an extra 'back to top' link in between sections 4.5 and 4.6 in the 'Arrays' section.
2017-07-20 11:21:29 -04:00
Jordan Harband
106a58ec1a
[eslint config] [base] v11.3.1
eslint-config-airbnb-base-v11.3.1
2017-07-24 12:07:43 -07:00
Jordan Harband
0d938aecf2
[eslint config] [base] [fix] legacy: remove top-level ecmaFeatures
2017-07-24 11:58:15 -07:00
Jordan Harband
2c0126543f
[eslint config] v15.1.0
eslint-config-airbnb-v15.1.0
2017-07-24 00:00:58 -07:00
Jordan Harband
16c73d0a7a
[eslint config] [deps] allow eslint v3 or v4
...
Closes #1447 .
2017-07-23 22:33:05 -07:00
Jordan Harband
583544356a
[eslint config] [deps] update eslint-plugin-import, eslint-config-airbnb-base
2017-07-23 22:26:33 -07:00
Tonni
18255d14d4
[guide] Add documentation for exponentiation operator (**).
2017-06-26 23:00:26 +08:00
Jordan Harband
55219bfdcf
v11.3.0
eslint-config-airbnb-base-v11.3.0
2017-07-23 13:08:57 -07:00
Jordan Harband
811392725e
[Deps] allow eslint v3 or v4; update eslint-plugin-import
...
Part of #1447 .
2017-07-23 11:35:51 -07:00
Jordan Harband
399420f46f
[Tests] add an explicit eslint version to travis.yml
2017-07-23 10:39:12 -07:00
Jordan Harband
b4995b6416
[eslint config] [base] revert breaking part of #1420
...
I’ll re-enable it in the next major.
2017-07-23 13:04:22 -07:00
Chris Atkin
cdc1c4fb76
[inthewild] Add Sainsbury's Supermarkets to the organizations list
2017-07-23 14:30:32 +01:00
Chaitanya Mutyala
6331c2c3e2
[guide] Typo fix on example
2017-07-12 10:43:11 -07:00
Valentina Pegler
22c97fa678
[inthewild] Add LEINWAND to the organizations list
2017-07-12 18:12:38 +02:00
Jordan Harband
fc7fae620f
[Tests] add pretravis/posttravis scripts
2017-07-04 16:15:18 -07:00
Jordan Harband
7768e01625
[eslint config] [*] Add missing rules
2017-07-04 14:30:29 -07:00
Jordan Harband
e5b403cd49
[eslint config] [base] [deps] update babel-preset-airbnb, eslint-find-rules, eslint-plugin-import, tape
2017-07-04 14:36:47 -07:00
Jordan Harband
d806859320
[Tests] run prepublish tests as allowed failures
2017-07-04 12:49:09 -07:00
Jordan Harband
c68fa63262
[eslint config] v15.0.2
eslint-config-airbnb-v15.0.2
2017-07-04 12:36:18 -07:00
Jordan Harband
8448706120
[eslint config] [deps] update babel-preset-airbnb, eslint-find-rules, eslint-plugin-import, eslint-plugin-jsx-a11y, eslint-plugin-react, tape
2017-07-04 12:32:01 -07:00
Dan Dascalescu
2666db559d
Fix typo in a11y for yarn
2017-06-23 22:16:35 -07:00
Dan Dascalescu
cd720b4c7b
[eslint config] [*] [docs] add yarn instructions
...
Fixes #1462 .
2017-06-22 09:19:08 -07:00
Jason Ellis
4380284b05
[guide] Add missing close parenthesis and semicolon to section 8.2
2017-06-20 09:37:19 -05:00
Jordan Harband
57ff032b07
[eslint config] [base] [minor] no-return-assign: strengthen linting against returning assignments.
2017-06-18 09:27:33 -07:00
elmehri
3a9e1c830f
[eslint config] [base] [patch] Support Protractor config files in import/no-extraneous-dependencies
2017-06-15 16:52:48 +01:00
Rahul Gandhi
0c9e22e039
[guide] replacing undefined with ReferenceError
...
Fixes #1457
2017-06-17 18:18:40 +05:30
Ben Schroeder
7bb8c9f905
[guide] Fix iterator code example error
...
The first "good" example was missing a closing bracket (line 1377).
2017-06-14 09:13:43 -04:00