Skip to content

Commit a2662a0

Browse files
Update deps (#328)
1 parent eadc6a9 commit a2662a0

File tree

5 files changed

+1654
-1096
lines changed

5 files changed

+1654
-1096
lines changed

.babelrc.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{
22
"plugins": ["@babel/plugin-transform-flow-strip-types"],
3-
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]]
3+
"presets": [
4+
[
5+
"@babel/preset-env",
6+
{ "bugfixes": true, "targets": { "node": "current" } }
7+
]
8+
]
49
}

.eslintrc.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ rules:
7575
node/prefer-promises/fs: off
7676

7777
##############################################################################
78-
# `eslint-plugin-import` rule list based on `v2.22.x`
78+
# `eslint-plugin-import` rule list based on `v2.23.x`
7979
##############################################################################
8080

8181
# Static analysis
@@ -93,6 +93,7 @@ rules:
9393
import/no-cycle: error
9494
import/no-useless-path-segments: error
9595
import/no-relative-parent-imports: off
96+
import/no-relative-packages: off
9697

9798
# Helpful warnings
9899
# https://github.com/benmosher/eslint-plugin-import#helpful-warnings
@@ -110,6 +111,7 @@ rules:
110111
import/no-commonjs: error
111112
import/no-amd: error
112113
import/no-nodejs-modules: error
114+
import/no-import-module-exports: off
113115

114116
# Style guide
115117
# https://github.com/benmosher/eslint-plugin-import#style-guide
@@ -131,7 +133,7 @@ rules:
131133
import/dynamic-import-chunkname: off
132134

133135
##############################################################################
134-
# ESLint builtin rules list based on `v7.22.x`
136+
# ESLint builtin rules list based on `v7.27.x`
135137
##############################################################################
136138

137139
# Possible Errors
@@ -286,7 +288,7 @@ rules:
286288
capitalized-comments: off # maybe
287289
consistent-this: off
288290
func-name-matching: off
289-
func-names: off
291+
func-names: [error, as-needed] # improve debug experience
290292
func-style: off
291293
id-denylist: off
292294
id-length: off
@@ -489,7 +491,7 @@ overrides:
489491
- plugin:import/typescript
490492
rules:
491493
##########################################################################
492-
# `@typescript-eslint/eslint-plugin` rule list based on `v4.17.x`
494+
# `@typescript-eslint/eslint-plugin` rule list based on `v4.25.x`
493495
##########################################################################
494496

495497
# Supported Rules
@@ -535,7 +537,6 @@ overrides:
535537
'@typescript-eslint/no-invalid-void-type': error
536538
'@typescript-eslint/no-require-imports': error
537539
'@typescript-eslint/no-this-alias': error
538-
'@typescript-eslint/no-throw-literal': error
539540
'@typescript-eslint/no-type-alias': off # TODO consider
540541
'@typescript-eslint/no-unnecessary-boolean-literal-compare': error
541542
'@typescript-eslint/no-unnecessary-condition': error
@@ -591,6 +592,7 @@ overrides:
591592
no-loop-func: off
592593
no-loss-of-precision: off
593594
no-redeclare: off
595+
no-throw-literal: off
594596
no-shadow: off
595597
no-unused-expressions: off
596598
no-unused-vars: off
@@ -608,6 +610,7 @@ overrides:
608610
'@typescript-eslint/no-loop-func': error
609611
'@typescript-eslint/no-loss-of-precision': error
610612
'@typescript-eslint/no-redeclare': error
613+
'@typescript-eslint/no-throw-literal': error
611614
'@typescript-eslint/no-shadow': error
612615
'@typescript-eslint/no-unused-expressions': error
613616
'@typescript-eslint/no-unused-vars':

.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ experimental.const_params=true
4242
include_warnings=true
4343

4444
[version]
45-
^0.146.0
45+
^0.152.0

0 commit comments

Comments
 (0)