Skip to content

Commit a5bbb21

Browse files
greenkeeperio-botbeefancohen
authored andcommitted
Update eslint-config-airbnb-base to version 10.0.1 🚀 (#113)
* chore(package): update eslint-config-airbnb-base to version 10.0.1 https://greenkeeper.io/ * [fix] - Fix lint and dependency issues.
1 parent 32f5e80 commit a5bbb21

File tree

5 files changed

+42
-31
lines changed

5 files changed

+42
-31
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
"babel-polyfill": "^6.16.0",
3434
"babel-preset-es2015": "^6.14.0",
3535
"coveralls": "^2.11.8",
36-
"eslint": "^3.8.1",
37-
"eslint-config-airbnb-base": "^9.0.0",
38-
"eslint-plugin-import": "^2.0.1",
36+
"eslint": "^3.9.1",
37+
"eslint-config-airbnb-base": "^10.0.1",
38+
"eslint-plugin-import": "^2.2.0",
3939
"jest": "^16.0.1",
4040
"rimraf": "^2.5.2"
4141
},

src/rules/anchor-has-content.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ module.exports = {
4040
case 'JSXElement':
4141
return !isHiddenFromScreenReader(
4242
elementType(child.openingElement),
43-
child.openingElement.attributes
44-
);
43+
child.openingElement.attributes);
4544
case 'JSXExpressionContainer':
4645
if (child.expression.type === 'Identifier') {
4746
return child.expression.name !== 'undefined';

src/rules/heading-has-content.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ module.exports = {
4848
case 'JSXElement':
4949
return !isHiddenFromScreenReader(
5050
elementType(child.openingElement),
51-
child.openingElement.attributes
52-
);
51+
child.openingElement.attributes);
5352
case 'JSXExpressionContainer':
5453
if (child.expression.type === 'Identifier') {
5554
return child.expression.name !== 'undefined';

src/rules/img-redundant-alt.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ module.exports = {
6868
message: errorMessage,
6969
});
7070
}
71-
72-
return;
7371
}
7472
},
7573
}),

yarn.lock

Lines changed: 37 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,9 +1026,9 @@ doctrine@^1.2.2:
10261026
esutils "^2.0.2"
10271027
isarray "^1.0.0"
10281028

1029-
doctrine@1.3.x:
1030-
version "1.3.0"
1031-
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.3.0.tgz#13e75682b55518424276f7c173783456ef913d26"
1029+
doctrine@1.5.0:
1030+
version "1.5.0"
1031+
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa"
10321032
dependencies:
10331033
esutils "^2.0.2"
10341034
isarray "^1.0.0"
@@ -1127,9 +1127,9 @@ escope@^3.6.0:
11271127
esrecurse "^4.1.0"
11281128
estraverse "^4.1.1"
11291129

1130-
eslint-config-airbnb-base@^9.0.0:
1131-
version "9.0.0"
1132-
resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-9.0.0.tgz#03e135562aa6c4d0d9f1bbda96d901326bf58ad2"
1130+
eslint-config-airbnb-base@^10.0.1:
1131+
version "10.0.1"
1132+
resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-10.0.1.tgz#f17d4e52992c1d45d1b7713efbcd5ecd0e7e0506"
11331133

11341134
eslint-import-resolver-node@^0.2.0:
11351135
version "0.2.3"
@@ -1139,32 +1139,33 @@ eslint-import-resolver-node@^0.2.0:
11391139
object-assign "^4.0.1"
11401140
resolve "^1.1.6"
11411141

1142-
eslint-module-utils@^1.0.0:
1143-
version "1.0.0"
1144-
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-1.0.0.tgz#c4a57fd3a53efd8426cc2d5550aadab9bbd05fd0"
1142+
eslint-module-utils@^2.0.0:
1143+
version "2.0.0"
1144+
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.0.0.tgz#a6f8c21d901358759cdc35dbac1982ae1ee58bce"
11451145
dependencies:
11461146
debug "2.2.0"
11471147
pkg-dir "^1.0.0"
11481148

1149-
eslint-plugin-import@^2.0.1:
1150-
version "2.0.1"
1151-
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.0.1.tgz#dcfe96357d476b3f822570d42c29bec66f5d9c5c"
1149+
eslint-plugin-import@^2.2.0:
1150+
version "2.2.0"
1151+
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.2.0.tgz#72ba306fad305d67c4816348a4699a4229ac8b4e"
11521152
dependencies:
11531153
builtin-modules "^1.1.1"
11541154
contains-path "^0.1.0"
11551155
debug "^2.2.0"
1156-
doctrine "1.3.x"
1156+
doctrine "1.5.0"
11571157
eslint-import-resolver-node "^0.2.0"
1158-
eslint-module-utils "^1.0.0"
1158+
eslint-module-utils "^2.0.0"
11591159
has "^1.0.1"
11601160
lodash.cond "^4.3.0"
11611161
minimatch "^3.0.3"
11621162
pkg-up "^1.0.0"
11631163

1164-
eslint@^3.8.1:
1165-
version "3.8.1"
1166-
resolved "https://registry.yarnpkg.com/eslint/-/eslint-3.8.1.tgz#7d02db44cd5aaf4fa7aa489e1f083baa454342ba"
1164+
eslint@^3.9.1:
1165+
version "3.9.1"
1166+
resolved "https://registry.yarnpkg.com/eslint/-/eslint-3.9.1.tgz#5a8597706fc6048bc6061ac754d4a211d28f4f5b"
11671167
dependencies:
1168+
babel-code-frame "^6.16.0"
11681169
chalk "^1.1.3"
11691170
concat-stream "^1.4.6"
11701171
debug "^2.1.1"
@@ -1192,7 +1193,7 @@ eslint@^3.8.1:
11921193
pluralize "^1.2.1"
11931194
progress "^1.1.8"
11941195
require-uncached "^1.0.2"
1195-
shelljs "^0.6.0"
1196+
shelljs "^0.7.5"
11961197
strip-bom "^3.0.0"
11971198
strip-json-comments "~1.0.1"
11981199
table "^3.7.8"
@@ -1465,7 +1466,7 @@ glob@^5.0.15, glob@^5.0.5, [email protected]:
14651466
once "^1.3.0"
14661467
path-is-absolute "^1.0.0"
14671468

1468-
glob@^7.0.3, glob@^7.0.5:
1469+
glob@^7.0.0, glob@^7.0.3, glob@^7.0.5:
14691470
version "7.1.1"
14701471
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8"
14711472
dependencies:
@@ -1633,6 +1634,10 @@ inquirer@^0.12.0:
16331634
strip-ansi "^3.0.0"
16341635
through "^2.3.6"
16351636

1637+
interpret@^1.0.0:
1638+
version "1.0.1"
1639+
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.1.tgz#d579fb7f693b858004947af39fa0db49f795602c"
1640+
16361641
invariant@^2.2.0:
16371642
version "2.2.1"
16381643
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.1.tgz#b097010547668c7e337028ebe816ebe36c8a8d54"
@@ -2743,6 +2748,12 @@ readline2@^1.0.1:
27432748
is-fullwidth-code-point "^1.0.0"
27442749
mute-stream "0.0.5"
27452750

2751+
rechoir@^0.6.2:
2752+
version "0.6.2"
2753+
resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
2754+
dependencies:
2755+
resolve "^1.1.6"
2756+
27462757
redent@^1.0.0:
27472758
version "1.0.0"
27482759
resolved "https://registry.yarnpkg.com/redent/-/redent-1.0.0.tgz#cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde"
@@ -2932,9 +2943,13 @@ shebang-regex@^1.0.0:
29322943
version "1.0.0"
29332944
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"
29342945

2935-
shelljs@^0.6.0:
2936-
version "0.6.1"
2937-
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.6.1.tgz#ec6211bed1920442088fe0f70b2837232ed2c8a8"
2946+
shelljs@^0.7.5:
2947+
version "0.7.5"
2948+
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.5.tgz#2eef7a50a21e1ccf37da00df767ec69e30ad0675"
2949+
dependencies:
2950+
glob "^7.0.0"
2951+
interpret "^1.0.0"
2952+
rechoir "^0.6.2"
29382953

29392954
shellwords@^0.1.0:
29402955
version "0.1.0"

0 commit comments

Comments
 (0)