Skip to content

Commit 57f9854

Browse files
Update deps (#2502)
1 parent 09cee73 commit 57f9854

File tree

3 files changed

+411
-343
lines changed

3 files changed

+411
-343
lines changed

.eslintrc.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ rules:
1919
graphql-internal/no-dir-import: error
2020

2121
##############################################################################
22-
# `eslint-plugin-flowtype` rule list based on `v4.6.x`
22+
# `eslint-plugin-flowtype` rule list based on `v4.7.x`
2323
# https://github.com/gajus/eslint-plugin-flowtype#eslint-plugin-flowtype
2424
##############################################################################
2525

@@ -439,9 +439,10 @@ overrides:
439439
- plugin:import/typescript
440440
rules:
441441
flowtype/require-valid-file-annotation: off
442+
flowtype/no-types-missing-file-annotation: off
442443

443444
##########################################################################
444-
# `@typescript-eslint/eslint-plugin` rule list based on `v2.21.x`
445+
# `@typescript-eslint/eslint-plugin` rule list based on `v2.26.x`
445446
##########################################################################
446447

447448
# Supported Rules
@@ -451,6 +452,7 @@ overrides:
451452
'@typescript-eslint/await-thenable': error
452453
'@typescript-eslint/ban-ts-comment': error
453454
'@typescript-eslint/ban-types': error
455+
'@typescript-eslint/class-literal-property-style': off
454456
'@typescript-eslint/consistent-type-assertions':
455457
[error, { assertionStyle: as, objectLiteralTypeAssertions: never }]
456458
'@typescript-eslint/consistent-type-definitions': off # TODO consider
@@ -485,6 +487,9 @@ overrides:
485487
'@typescript-eslint/no-unnecessary-qualifier': error
486488
'@typescript-eslint/no-unnecessary-type-arguments': error
487489
'@typescript-eslint/no-unnecessary-type-assertion': error
490+
'@typescript-eslint/no-unsafe-call': off # TODO consider
491+
'@typescript-eslint/no-unsafe-member-access': off # TODO consider
492+
'@typescript-eslint/no-unsafe-return': off # TODO consider
488493
'@typescript-eslint/no-unused-vars-experimental': off
489494
'@typescript-eslint/no-var-requires': error
490495
'@typescript-eslint/prefer-as-const': off # TODO consider
@@ -495,7 +500,7 @@ overrides:
495500
'@typescript-eslint/prefer-nullish-coalescing': error
496501
'@typescript-eslint/prefer-optional-chain': error
497502
'@typescript-eslint/prefer-readonly': error
498-
'@typescript-eslint/prefer-readonly-parameter-types': off # FIXME: crash eslint
503+
'@typescript-eslint/prefer-readonly-parameter-types': off # TODO consider
499504
'@typescript-eslint/prefer-regexp-exec': error
500505
'@typescript-eslint/prefer-string-starts-ends-with': off # TODO switch to error after IE11 drop
501506
'@typescript-eslint/promise-function-async': off

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@
4444
},
4545
"dependencies": {},
4646
"devDependencies": {
47-
"@babel/core": "7.8.7",
48-
"@babel/plugin-transform-flow-strip-types": "7.8.3",
49-
"@babel/preset-env": "7.8.7",
50-
"@babel/register": "7.8.6",
51-
"@typescript-eslint/eslint-plugin": "2.22.0",
52-
"@typescript-eslint/parser": "2.22.0",
47+
"@babel/core": "7.9.0",
48+
"@babel/plugin-transform-flow-strip-types": "7.9.0",
49+
"@babel/preset-env": "7.9.0",
50+
"@babel/register": "7.9.0",
51+
"@typescript-eslint/eslint-plugin": "2.26.0",
52+
"@typescript-eslint/parser": "2.26.0",
5353
"babel-eslint": "10.1.0",
5454
"chai": "4.2.0",
5555
"cspell": "4.0.55",
56-
"dtslint": "3.3.0",
56+
"dtslint": "3.4.1",
5757
"eslint": "6.8.0",
58-
"eslint-plugin-flowtype": "4.6.0",
58+
"eslint-plugin-flowtype": "4.7.0",
5959
"eslint-plugin-graphql-internal": "link:./resources/eslint-rules",
60-
"eslint-plugin-import": "2.20.1",
60+
"eslint-plugin-import": "2.20.2",
6161
"flow-bin": "0.121.0",
62-
"mocha": "7.1.0",
62+
"mocha": "7.1.1",
6363
"nyc": "15.0.0",
6464
"prettier": "2.0.2",
6565
"typescript": "^3.8.3"

0 commit comments

Comments
 (0)