Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c9d33a8

Browse files
Upgrade eslint to latest version
1 parent 82a0b01 commit c9d33a8

File tree

3 files changed

+27
-17
lines changed

3 files changed

+27
-17
lines changed

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"enzyme": "3.10.0",
6363
"enzyme-adapter-react-16": "^1.14.0",
6464
"enzyme-to-json": "3.3.5",
65-
"eslint": "5.16.0",
65+
"eslint": "^6.0.1",
6666
"eslint-config-react": "1.1.7",
6767
"eslint-loader": "2.1.2",
6868
"eslint-plugin-react": "^7.13.0",

‎webpack.config.js‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,17 @@ module.exports = {
2525
{
2626
test: /\.jsx?$/,
2727
exclude: /node_modules/,
28-
use: ['babel-loader', 'eslint-loader']
28+
use: [
29+
{
30+
loader: 'babel-loader'
31+
},
32+
{
33+
loader: 'eslint-loader',
34+
options: {
35+
formatter: require('eslint/lib/cli-engine/formatters/stylish')
36+
}
37+
}
38+
]
2939
}
3040
]
3141
},

‎yarn.lock‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,7 +2112,7 @@ ajv-keywords@^3.1.0:
21122112
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.4.0.tgz#4b831e7b531415a7cc518cd404e73f6193c6349d"
21132113
integrity sha512-aUjdRFISbuFOl0EIZc+9e4FfZp0bDZgAdOOf30bJmw8VM9v84SHyVyxDfbWxpGYbdZD/9XoKxfHVNmxPkhwyGw==
21142114

2115-
ajv@^6.1.0, ajv@^6.5.5, ajv@^6.9.1:
2115+
ajv@^6.1.0, ajv@^6.10.0, ajv@^6.5.5, ajv@^6.9.1:
21162116
version "6.10.0"
21172117
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.0.tgz#90d0d54439da587cd7e843bfb7045f50bd22bdf1"
21182118
integrity sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==
@@ -5166,40 +5166,40 @@ eslint-visitor-keys@^1.0.0:
51665166
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d"
51675167
integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==
51685168

5169-
eslint@5.16.0:
5170-
version "5.16.0"
5171-
resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.16.0.tgz#a1e3ac1aae4a3fbd8296fcf8f7ab7314cbb6abea"
5172-
integrity sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==
5169+
eslint@^6.0.1:
5170+
version "6.0.1"
5171+
resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.0.1.tgz#4a32181d72cb999d6f54151df7d337131f81cda7"
5172+
integrity sha512-DyQRaMmORQ+JsWShYsSg4OPTjY56u1nCjAmICrE8vLWqyLKxhFXOthwMj1SA8xwfrv0CofLNVnqbfyhwCkaO0w==
51735173
dependencies:
51745174
"@babel/code-frame" "^7.0.0"
5175-
ajv "^6.9.1"
5175+
ajv "^6.10.0"
51765176
chalk "^2.1.0"
51775177
cross-spawn "^6.0.5"
51785178
debug "^4.0.1"
51795179
doctrine "^3.0.0"
51805180
eslint-scope "^4.0.3"
51815181
eslint-utils "^1.3.1"
51825182
eslint-visitor-keys "^1.0.0"
5183-
espree "^5.0.1"
5183+
espree "^6.0.0"
51845184
esquery "^1.0.1"
51855185
esutils "^2.0.2"
51865186
file-entry-cache "^5.0.1"
51875187
functional-red-black-tree "^1.0.1"
5188-
glob "^7.1.2"
5188+
glob-parent "^3.1.0"
51895189
globals "^11.7.0"
51905190
ignore "^4.0.6"
51915191
import-fresh "^3.0.0"
51925192
imurmurhash "^0.1.4"
51935193
inquirer "^6.2.2"
5194-
js-yaml "^3.13.0"
5194+
is-glob "^4.0.0"
5195+
js-yaml "^3.13.1"
51955196
json-stable-stringify-without-jsonify "^1.0.1"
51965197
levn "^0.3.0"
51975198
lodash "^4.17.11"
51985199
minimatch "^3.0.4"
51995200
mkdirp "^0.5.1"
52005201
natural-compare "^1.4.0"
52015202
optionator "^0.8.2"
5202-
path-is-inside "^1.0.2"
52035203
progress "^2.0.0"
52045204
regexpp "^2.0.1"
52055205
semver "^5.5.1"
@@ -5208,10 +5208,10 @@ eslint@5.16.0:
52085208
table "^5.2.3"
52095209
text-table "^0.2.0"
52105210

5211-
espree@^5.0.1:
5212-
version "5.0.1"
5213-
resolved "https://registry.yarnpkg.com/espree/-/espree-5.0.1.tgz#5d6526fa4fc7f0788a5cf75b15f30323e2f81f7a"
5214-
integrity sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==
5211+
espree@^6.0.0:
5212+
version "6.0.0"
5213+
resolved "https://registry.yarnpkg.com/espree/-/espree-6.0.0.tgz#716fc1f5a245ef5b9a7fdb1d7b0d3f02322e75f6"
5214+
integrity sha512-lJvCS6YbCn3ImT3yKkPe0+tJ+mH6ljhGNjHQH9mRtiO6gjhVAOhVXW1yjnwqGwTkK3bGbye+hb00nFNmu0l/1Q==
52155215
dependencies:
52165216
acorn "^6.0.7"
52175217
acorn-jsx "^5.0.0"
@@ -7486,7 +7486,7 @@ js-tokens@^3.0.2:
74867486
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
74877487
integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls=
74887488

7489-
js-yaml@^3.11.0, js-yaml@^3.13.0, js-yaml@^3.13.1, js-yaml@^3.9.0:
7489+
js-yaml@^3.11.0, js-yaml@^3.13.1, js-yaml@^3.9.0:
74907490
version "3.13.1"
74917491
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"
74927492
integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /