Skip to content

Commit 3e8f7f4

Browse files
authored
chore: bump @typescript-eslint/* packages (#22245)
* chore: bump @typescript-eslint/* * update eslint config to cover change in @typescript-eslint/parser behavior
1 parent 71b5d1e commit 3e8f7f4

File tree

4 files changed

+28
-73
lines changed

4 files changed

+28
-73
lines changed

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ module.exports = {
140140
avoidEscape: true,
141141
},
142142
],
143+
// bump to @typescript-eslint/parser started showing Flow related errors in ts(x) files
144+
// so disabling them in .ts(x) files
145+
"flowtype/no-types-missing-file-annotation": "off",
143146
},
144147
},
145148
],

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"@types/lodash": "^4.14.149",
1616
"@types/node": "^12.12.11",
1717
"@types/webpack": "^4.41.0",
18-
"@typescript-eslint/eslint-plugin": "^2.12.0",
19-
"@typescript-eslint/parser": "^2.12.0",
18+
"@typescript-eslint/eslint-plugin": "^2.23.0",
19+
"@typescript-eslint/parser": "^2.23.0",
2020
"babel-eslint": "^10.0.3",
2121
"babel-jest": "^24.9.0",
2222
"chalk": "^2.4.2",

packages/gatsby/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"@pieh/friendly-errors-webpack-plugin": "1.7.0-chalk-2",
2222
"@pmmmwh/react-refresh-webpack-plugin": "^0.2.0",
2323
"@reach/router": "^1.3.1",
24-
"@typescript-eslint/eslint-plugin": "^2.11.0",
25-
"@typescript-eslint/parser": "^2.11.0",
24+
"@typescript-eslint/eslint-plugin": "^2.23.0",
25+
"@typescript-eslint/parser": "^2.23.0",
2626
"address": "1.1.2",
2727
"autoprefixer": "^9.7.3",
2828
"axios": "^0.19.0",

yarn.lock

Lines changed: 21 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -4188,89 +4188,46 @@
41884188
dependencies:
41894189
"@types/yargs-parser" "*"
41904190

4191-
"@typescript-eslint/eslint-plugin@^2.11.0":
4192-
version "2.11.0"
4193-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.11.0.tgz#4477c33491ccf0a9a3f4a30ef84978fa0ea0cad2"
4194-
integrity sha512-G2HHA1vpMN0EEbUuWubiCCfd0R3a30BB+UdvnFkxwZIxYEGOrWEXDv8tBFO9f44CWc47Xv9lLM3VSn4ORLI2bA==
4191+
"@typescript-eslint/eslint-plugin@^2.23.0":
4192+
version "2.23.0"
4193+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.23.0.tgz#aa7133bfb7b685379d9eafe4ae9e08b9037e129d"
4194+
integrity sha512-8iA4FvRsz8qTjR0L/nK9RcRUN3QtIHQiOm69FzV7WS3SE+7P7DyGGwh3k4UNR2JBbk+Ej2Io+jLAaqKibNhmtw==
41954195
dependencies:
4196-
"@typescript-eslint/experimental-utils" "2.11.0"
4196+
"@typescript-eslint/experimental-utils" "2.23.0"
41974197
eslint-utils "^1.4.3"
41984198
functional-red-black-tree "^1.0.1"
41994199
regexpp "^3.0.0"
42004200
tsutils "^3.17.1"
42014201

4202-
"@typescript-eslint/eslint-plugin@^2.12.0":
4203-
version "2.12.0"
4204-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.12.0.tgz#0da7cbca7b24f4c6919e9eb31c704bfb126f90ad"
4205-
integrity sha512-1t4r9rpLuEwl3hgt90jY18wJHSyb0E3orVL3DaqwmpiSDHmHiSspVsvsFF78BJ/3NNG3qmeso836jpuBWYziAA==
4206-
dependencies:
4207-
"@typescript-eslint/experimental-utils" "2.12.0"
4208-
eslint-utils "^1.4.3"
4209-
functional-red-black-tree "^1.0.1"
4210-
regexpp "^3.0.0"
4211-
tsutils "^3.17.1"
4212-
4213-
"@typescript-eslint/[email protected]":
4214-
version "2.11.0"
4215-
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.11.0.tgz#cef18e6b122706c65248a5d8984a9779ed1e52ac"
4216-
integrity sha512-YxcA/y0ZJaCc/fB/MClhcDxHI0nOBB7v2/WxBju2cOTanX7jO9ttQq6Fy4yW9UaY5bPd9xL3cun3lDVqk67sPQ==
4202+
"@typescript-eslint/[email protected]":
4203+
version "2.23.0"
4204+
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.23.0.tgz#5d2261c8038ec1698ca4435a8da479c661dc9242"
4205+
integrity sha512-OswxY59RcXH3NNPmq+4Kis2CYZPurRU6mG5xPcn24CjFyfdVli5mySwZz/g/xDbJXgDsYqNGq7enV0IziWGXVQ==
42174206
dependencies:
42184207
"@types/json-schema" "^7.0.3"
4219-
"@typescript-eslint/typescript-estree" "2.11.0"
4208+
"@typescript-eslint/typescript-estree" "2.23.0"
42204209
eslint-scope "^5.0.0"
42214210

4222-
"@typescript-eslint/[email protected]":
4223-
version "2.12.0"
4224-
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.12.0.tgz#e0a76ffb6293e058748408a191921e453c31d40d"
4225-
integrity sha512-jv4gYpw5N5BrWF3ntROvCuLe1IjRenLy5+U57J24NbPGwZFAjhnM45qpq0nDH1y/AZMb3Br25YiNVwyPbz6RkA==
4226-
dependencies:
4227-
"@types/json-schema" "^7.0.3"
4228-
"@typescript-eslint/typescript-estree" "2.12.0"
4229-
eslint-scope "^5.0.0"
4230-
4231-
"@typescript-eslint/parser@^2.11.0":
4232-
version "2.11.0"
4233-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.11.0.tgz#cdcc3be73ee31cbef089af5ff97ccaa380ef6e8b"
4234-
integrity sha512-DyGXeqhb3moMioEFZIHIp7oXBBh7dEfPTzGrlyP0Mi9ScCra4SWEGs3kPd18mG7Sy9Wy8z88zmrw5tSGL6r/6A==
4211+
"@typescript-eslint/parser@^2.23.0":
4212+
version "2.23.0"
4213+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.23.0.tgz#f3d4e2928ff647fe77fc2fcef1a3534fee6a3212"
4214+
integrity sha512-k61pn/Nepk43qa1oLMiyqApC6x5eP5ddPz6VUYXCAuXxbmRLqkPYzkFRKl42ltxzB2luvejlVncrEpflgQoSUg==
42354215
dependencies:
42364216
"@types/eslint-visitor-keys" "^1.0.0"
4237-
"@typescript-eslint/experimental-utils" "2.11.0"
4238-
"@typescript-eslint/typescript-estree" "2.11.0"
4217+
"@typescript-eslint/experimental-utils" "2.23.0"
4218+
"@typescript-eslint/typescript-estree" "2.23.0"
42394219
eslint-visitor-keys "^1.1.0"
42404220

4241-
"@typescript-eslint/parser@^2.12.0":
4242-
version "2.12.0"
4243-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.12.0.tgz#393f1604943a4ca570bb1a45bc8834e9b9158884"
4244-
integrity sha512-lPdkwpdzxEfjI8TyTzZqPatkrswLSVu4bqUgnB03fHSOwpC7KSerPgJRgIAf11UGNf7HKjJV6oaPZI4AghLU6g==
4245-
dependencies:
4246-
"@types/eslint-visitor-keys" "^1.0.0"
4247-
"@typescript-eslint/experimental-utils" "2.12.0"
4248-
"@typescript-eslint/typescript-estree" "2.12.0"
4249-
eslint-visitor-keys "^1.1.0"
4250-
4251-
"@typescript-eslint/[email protected]":
4252-
version "2.11.0"
4253-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.11.0.tgz#21ada6504274cd1644855926312c798fc697e9fb"
4254-
integrity sha512-HGY4+d4MagO6cKMcKfIKaTMxcAv7dEVnji2Zi+vi5VV8uWAM631KjAB5GxFcexMYrwKT0EekRiiGK1/Sd7VFGA==
4255-
dependencies:
4256-
debug "^4.1.1"
4257-
eslint-visitor-keys "^1.1.0"
4258-
glob "^7.1.6"
4259-
is-glob "^4.0.1"
4260-
lodash.unescape "4.0.1"
4261-
semver "^6.3.0"
4262-
tsutils "^3.17.1"
4263-
4264-
"@typescript-eslint/[email protected]":
4265-
version "2.12.0"
4266-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.12.0.tgz#bd9e547ccffd17dfab0c3ab0947c80c8e2eb914c"
4267-
integrity sha512-rGehVfjHEn8Frh9UW02ZZIfJs6SIIxIu/K1bbci8rFfDE/1lQ8krIJy5OXOV3DVnNdDPtoiPOdEANkLMrwXbiQ==
4221+
"@typescript-eslint/[email protected]":
4222+
version "2.23.0"
4223+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.23.0.tgz#d355960fab96bd550855488dcc34b9a4acac8d36"
4224+
integrity sha512-pmf7IlmvXdlEXvE/JWNNJpEvwBV59wtJqA8MLAxMKLXNKVRC3HZBXR/SlZLPWTCcwOSg9IM7GeRSV3SIerGVqw==
42684225
dependencies:
42694226
debug "^4.1.1"
42704227
eslint-visitor-keys "^1.1.0"
42714228
glob "^7.1.6"
42724229
is-glob "^4.0.1"
4273-
lodash.unescape "4.0.1"
4230+
lodash "^4.17.15"
42744231
semver "^6.3.0"
42754232
tsutils "^3.17.1"
42764233

@@ -15153,11 +15110,6 @@ lodash.toarray@^4.4.0:
1515315110
version "4.4.0"
1515415111
resolved "https://registry.yarnpkg.com/lodash.toarray/-/lodash.toarray-4.4.0.tgz#24c4bfcd6b2fba38bfd0594db1179d8e9b656561"
1515515112

15156-
15157-
version "4.0.1"
15158-
resolved "https://registry.yarnpkg.com/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c"
15159-
integrity sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw=
15160-
1516115113
[email protected], lodash.uniq@^4.5.0:
1516215114
version "4.5.0"
1516315115
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"

0 commit comments

Comments
 (0)