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
Jordan Harband
cd4ec6245e
[guide] change more straight quotes to curly quotes
2017-06-14 12:09:46 -07:00
Felipe Vargas
4499ee0094
[guide] No arrow function implicit return with side effects
2017-06-12 15:41:11 -07:00
Fernando Pasik
c43fc749c4
[eslint config] [docs] Remove TODO in prefer-reflect as it's deprecated
2017-06-13 22:06:55 +01:00
Jordan Harband
fd8cbec8e0
[guide] change straight quotes to curly quotes
2017-06-13 01:06:34 -07:00
Gustavo Isensee
1bbac74286
Updated "how to define propTypes..."
...
Imported from new prop-types module.
2017-06-13 00:59:43 -03:00
Radu Serbanescu
00c9e52aec
[eslint config] [base] [minor] Balanced spacing for inline block comments
...
Fixes #1425 .
2017-06-07 13:18:38 +03:00
Jordan Harband
721af5498f
[Tests] on node v8
2017-06-03 23:39:24 -07:00
Jordan Harband
1a38734d63
[Tests] npm v4.6+ breaks in node < v1; npm 5+ breaks in node < v4
2017-06-03 23:38:22 -07:00
Jordan Harband
5ba31498fe
Only apps should have lockfiles.
2017-06-03 23:37:13 -07:00
Daniel Axelrod
98f2224ec2
Add linting for Markdown prose
...
Codify existing practices for writing Markdown in style guides and
enforce them via Markdownlint. A new npm script "lint" in the top level
package.json runs before tests or as the first step of the "travis"
script.
Only modify documents in cases where they had bugs or isolated cases of
inconsistency:
README.md: 10: MD007 Unordered list indentation
Inconsistent with all other top level lists
README.md: 10: MD032 Lists should be surrounded by blank lines
Some Markdown parsers don't handle this correctly
README.md: 3156-3161: MD005 Inconsistent indentation for list items at
the same level
Bug, looks like it's intended to be another list level but GitHub
renders it at the same level as the "No but seriously"
README.md & css-in-javascript/README.md: throughout: MD012 Multiple
consecutive blank lines
README.md: throughout: MD004 Unordered list style
Some nested lists used plusses, now everything consistently uses
dashes.
2017-06-02 17:10:16 +00:00
Joe Lencioni
ac6de2fdb8
Bump copyright year 2016 -> 2017 in license
2017-06-02 12:05:41 -07:00
Ken Powers
f3c9639abe
[eslint config] [base] [patch] Allow jsx extensions for test files
2017-05-24 15:43:56 -04:00
Daniel Axelrod
0f8f30dcd0
[6.5] Add no-eval eslint rule to docs
...
Add reference to the eslint `no-eval` rule to the README.
This rule is already set to `error` in best-practices.js in eslint-airbnb-config-base.
2017-05-24 01:13:26 +00:00
Jordan Harband
44ca3c2b3a
[eslint config] [deps] update eslint-plugin-jsx-a11y
2017-05-23 12:54:02 -07:00
Jordan Harband
f86aacae44
[eslint config] [fix] jsx should be enabled via parserOptions, not via a root ecmaFeatures.
...
From https://github.com/airbnb/javascript/issues/1410#issuecomment-303368921
2017-05-23 12:53:26 -07:00
Siddharth Doshi
0dd3dbd7b6
[eslint config] [base] [breaking] Blacklist confusing globals
2017-05-20 15:41:37 +05:30
Vlad Shcherbin
324bf9c834
Fix option typo
2017-05-19 15:04:22 +03:00
Jordan Harband
8cabe49b94
[eslint config] v15.0.1
eslint-config-airbnb-v15.0.1
2017-05-15 17:54:47 -07:00
Billy Janitsch
fe65e4b649
[eslint config] [patch] Fix reported React version
...
Fixes #1414 .
2017-05-15 12:39:37 -04:00
Jordan Harband
58e6cd323a
[eslint config] v15.0.0
eslint-config-airbnb-v15.0.0
2017-05-14 17:05:45 -07:00
Jordan Harband
0449d9b571
[eslint config] [deps] update eslint-config-airbnb-base
2017-05-14 16:58:38 -07:00
Jordan Harband
d48083796c
[eslint config] [base] v11.2.0
eslint-config-airbnb-base-v11.2.0
2017-05-14 16:53:50 -07:00