Skip to content

Commit f30da09

Browse files
committed
lint upgrade (and fix)
1 parent 5fb16bd commit f30da09

3 files changed

Lines changed: 36 additions & 29 deletions

File tree

‎package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
"lint": "eslint src/ --ext .ts,.tsx"
1313
},
1414
"devDependencies": {
15-
"@typescript-eslint/eslint-plugin": "2.22.0",
16-
"@typescript-eslint/parser": "2.22.0",
15+
"@typescript-eslint/eslint-plugin": "2.29.0",
16+
"@typescript-eslint/parser": "2.29.0",
1717
"css-loader": "3.5.3",
1818
"eslint": "6.8.0",
1919
"eslint-plugin-react": "7.19.0",
20-
"eslint-plugin-simple-import-sort": "5.0.1",
20+
"eslint-plugin-simple-import-sort": "5.0.2",
2121
"express": "4.17.1",
2222
"mini-css-extract-plugin": "0.9.0",
2323
"sass": "1.26.5",

‎src/pattern/threads/Threads.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const mapStateToProps = (state: RootState) => ({
1515
type StateProps = ReturnType<typeof mapStateToProps>;
1616

1717
const mergeProps = ({threads}: StateProps) => ({
18-
children: threads.map((thread, index) => (
18+
children: threads.map((thread) => (
1919
<RemoveOverlay key={thread} thread={thread}>
2020
<Thread thread={thread} />
2121
</RemoveOverlay>

‎yarn.lock‎

Lines changed: 32 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -221,40 +221,40 @@
221221
"@types/webpack-sources" "*"
222222
source-map "^0.6.0"
223223

224-
"@typescript-eslint/eslint-plugin@2.22.0":
225-
version "2.22.0"
226-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.22.0.tgz#218ce6d4aa0244c6a40baba39ca1e021b26bb017"
227-
integrity sha512-BvxRLaTDVQ3N+Qq8BivLiE9akQLAOUfxNHIEhedOcg8B2+jY8Rc4/D+iVprvuMX1AdezFYautuGDwr9QxqSxBQ==
224+
"@typescript-eslint/eslint-plugin@2.29.0":
225+
version "2.29.0"
226+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.29.0.tgz#c9efab7624e3dd6d144a0e4577a541d1bd42c2ac"
227+
integrity sha512-X/YAY7azKirENm4QRpT7OVmzok02cSkqeIcLmdz6gXUQG4Hk0Fi9oBAynSAyNXeGdMRuZvjBa0c1Lu0dn/u6VA==
228228
dependencies:
229-
"@typescript-eslint/experimental-utils" "2.22.0"
230-
eslint-utils "^1.4.3"
229+
"@typescript-eslint/experimental-utils" "2.29.0"
231230
functional-red-black-tree "^1.0.1"
232231
regexpp "^3.0.0"
233232
tsutils "^3.17.1"
234233

235-
"@typescript-eslint/experimental-utils@2.22.0":
236-
version "2.22.0"
237-
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.22.0.tgz#4d00c91fbaaa68e56e7869be284999a265707f85"
238-
integrity sha512-sJt1GYBe6yC0dWOQzXlp+tiuGglNhJC9eXZeC8GBVH98Zv9jtatccuhz0OF5kC/DwChqsNfghHx7OlIDQjNYAQ==
234+
"@typescript-eslint/experimental-utils@2.29.0":
235+
version "2.29.0"
236+
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.29.0.tgz#3cb8060de9265ba131625a96bbfec31ba6d4a0fe"
237+
integrity sha512-H/6VJr6eWYstyqjWXBP2Nn1hQJyvJoFdDtsHxGiD+lEP7piGnGpb/ZQd+z1ZSB1F7dN+WsxUDh8+S4LwI+f3jw==
239238
dependencies:
240239
"@types/json-schema" "^7.0.3"
241-
"@typescript-eslint/typescript-estree" "2.22.0"
240+
"@typescript-eslint/typescript-estree" "2.29.0"
242241
eslint-scope "^5.0.0"
242+
eslint-utils "^2.0.0"
243243

244-
"@typescript-eslint/parser@2.22.0":
245-
version "2.22.0"
246-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.22.0.tgz#8eeb6cb6de873f655e64153397d4790898e149d0"
247-
integrity sha512-FaZKC1X+nvD7qMPqKFUYHz3H0TAioSVFGvG29f796Nc5tBluoqfHgLbSFKsh7mKjRoeTm8J9WX2Wo9EyZWjG7w==
244+
"@typescript-eslint/parser@2.29.0":
245+
version "2.29.0"
246+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.29.0.tgz#6e3c4e21ed6393dc05b9d8b47f0b7e731ef21c9c"
247+
integrity sha512-H78M+jcu5Tf6m/5N8iiFblUUv+HJDguMSdFfzwa6vSg9lKR8Mk9BsgeSjO8l2EshKnJKcbv0e8IDDOvSNjl0EA==
248248
dependencies:
249249
"@types/eslint-visitor-keys" "^1.0.0"
250-
"@typescript-eslint/experimental-utils" "2.22.0"
251-
"@typescript-eslint/typescript-estree" "2.22.0"
250+
"@typescript-eslint/experimental-utils" "2.29.0"
251+
"@typescript-eslint/typescript-estree" "2.29.0"
252252
eslint-visitor-keys "^1.1.0"
253253

254-
"@typescript-eslint/typescript-estree@2.22.0":
255-
version "2.22.0"
256-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.22.0.tgz#a16ed45876abf743e1f5857e2f4a1c3199fd219e"
257-
integrity sha512-2HFZW2FQc4MhIBB8WhDm9lVFaBDy6h9jGrJ4V2Uzxe/ON29HCHBTj3GkgcsgMWfsl2U5as+pTOr30Nibaw7qRQ==
254+
"@typescript-eslint/typescript-estree@2.29.0":
255+
version "2.29.0"
256+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.29.0.tgz#1be6612bb02fc37ac9f466521c1459a4744e8d3a"
257+
integrity sha512-3YGbtnWy4az16Egy5Fj5CckkVlpIh0MADtAQza+jiMADRSKkjdpzZp/5WuvwK/Qib3Z0HtzrDFeWanS99dNhnA==
258258
dependencies:
259259
debug "^4.1.1"
260260
eslint-visitor-keys "^1.1.0"
@@ -1690,10 +1690,10 @@ eslint-plugin-react@7.19.0:
16901690
string.prototype.matchall "^4.0.2"
16911691
xregexp "^4.3.0"
16921692

1693-
eslint-plugin-simple-import-sort@5.0.1:
1694-
version "5.0.1"
1695-
resolved "https://registry.yarnpkg.com/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-5.0.1.tgz#fd47d3ed2af30db3dd2cadaed285ad510dde479b"
1696-
integrity sha512-s6Hjp9rcIDYT1h7tuTulblbY7+XQNZK+014uUkNJSKRXEHZO2i7CTr16HOpfgD9HDnUOpl0fwphPsr0oxZqgGg==
1693+
eslint-plugin-simple-import-sort@5.0.2:
1694+
version "5.0.2"
1695+
resolved "https://registry.yarnpkg.com/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-5.0.2.tgz#43b5c4ab5affa2dd8481ef40216c71723becd2e2"
1696+
integrity sha512-YPEGo7DbMANQ01d2OXlREcaHRszsW8LoUQ9mIjI7gXSdwpnWKfogtzL6FiBfDf1teCBx+AdcjcfDXSKpmhTWeA==
16971697

16981698
eslint-scope@^4.0.3:
16991699
version "4.0.3"
@@ -1718,6 +1718,13 @@ eslint-utils@^1.4.3:
17181718
dependencies:
17191719
eslint-visitor-keys "^1.1.0"
17201720

1721+
eslint-utils@^2.0.0:
1722+
version "2.0.0"
1723+
resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.0.0.tgz#7be1cc70f27a72a76cd14aa698bcabed6890e1cd"
1724+
integrity sha512-0HCPuJv+7Wv1bACm8y5/ECVfYdfsAm9xmVb7saeFlxjPYALefjhbYoCkBjPdPzGH8wWyTpAez82Fh3VKYEZ8OA==
1725+
dependencies:
1726+
eslint-visitor-keys "^1.1.0"
1727+
17211728
eslint-visitor-keys@^1.1.0:
17221729
version "1.1.0"
17231730
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"

0 commit comments

Comments
 (0)