Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed May 30, 2021
1 parent eadc6a9 commit 76b6bc5
Show file tree
Hide file tree
Showing 5 changed files with 1,654 additions and 1,096 deletions.
7 changes: 6 additions & 1 deletion .babelrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"plugins": ["@babel/plugin-transform-flow-strip-types"],
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]]
"presets": [
[
"@babel/preset-env",
{ "bugfixes": true, "targets": { "node": "current" } }
]
]
}
13 changes: 8 additions & 5 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ rules:
node/prefer-promises/fs: off

##############################################################################
# `eslint-plugin-import` rule list based on `v2.22.x`
# `eslint-plugin-import` rule list based on `v2.23.x`
##############################################################################

# Static analysis
Expand All @@ -93,6 +93,7 @@ rules:
import/no-cycle: error
import/no-useless-path-segments: error
import/no-relative-parent-imports: off
import/no-relative-packages: off

# Helpful warnings
# https://github.com/benmosher/eslint-plugin-import#helpful-warnings
Expand All @@ -110,6 +111,7 @@ rules:
import/no-commonjs: error
import/no-amd: error
import/no-nodejs-modules: error
import/no-import-module-exports: off

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

##############################################################################
# ESLint builtin rules list based on `v7.22.x`
# ESLint builtin rules list based on `v7.27.x`
##############################################################################

# Possible Errors
Expand Down Expand Up @@ -286,7 +288,7 @@ rules:
capitalized-comments: off # maybe
consistent-this: off
func-name-matching: off
func-names: off
func-names: [error, as-needed] # improve debug experience
func-style: off
id-denylist: off
id-length: off
Expand Down Expand Up @@ -489,7 +491,7 @@ overrides:
- plugin:import/typescript
rules:
##########################################################################
# `@typescript-eslint/eslint-plugin` rule list based on `v4.17.x`
# `@typescript-eslint/eslint-plugin` rule list based on `v4.25.x`
##########################################################################

# Supported Rules
Expand Down Expand Up @@ -535,7 +537,6 @@ overrides:
'@typescript-eslint/no-invalid-void-type': error
'@typescript-eslint/no-require-imports': error
'@typescript-eslint/no-this-alias': error
'@typescript-eslint/no-throw-literal': error
'@typescript-eslint/no-type-alias': off # TODO consider
'@typescript-eslint/no-unnecessary-boolean-literal-compare': error
'@typescript-eslint/no-unnecessary-condition': error
Expand Down Expand Up @@ -591,6 +592,7 @@ overrides:
no-loop-func: off
no-loss-of-precision: off
no-redeclare: off
no-throw-literal: off
no-shadow: off
no-unused-expressions: off
no-unused-vars: off
Expand All @@ -608,6 +610,7 @@ overrides:
'@typescript-eslint/no-loop-func': error
'@typescript-eslint/no-loss-of-precision': error
'@typescript-eslint/no-redeclare': error
'@typescript-eslint/no-throw-literal': error
'@typescript-eslint/no-shadow': error
'@typescript-eslint/no-unused-expressions': error
'@typescript-eslint/no-unused-vars':
Expand Down
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ experimental.const_params=true
include_warnings=true

[version]
^0.146.0
^0.152.0
Loading

0 comments on commit 76b6bc5

Please sign in to comment.