Skip to content

Commit

Permalink
feat(deps): Update deps 2023.06.05 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseLion authored Jun 5, 2023
1 parent ad000de commit a7e737e
Show file tree
Hide file tree
Showing 16 changed files with 3,040 additions and 2,150 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ workflows:
- build:
matrix:
parameters:
nodejs: ["16", "17", "18", "19"]
rxjs: ["5.5.12", "6.6.7", "7.8.0"]
axios: ["1.0.0", "1.1.3", "1.2.4"]
nodejs: ["16", "17", "18", "19", "20"]
rxjs: ["5.5.12", "6.6.7", "7.8.1"]
axios: ["1.0.0", "1.1.3", "1.2.6", "1.3.6", "1.4.0"]

- release:
requires:
Expand Down
11 changes: 7 additions & 4 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.yarn/**/*
build/**/*
dist/**/*
node_modules/**/*
### Dependencies ###
.yarn/
node_modules/

### Auto-generated ###
build/
dist/
117 changes: 104 additions & 13 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,68 @@
{
"root": true,
"env": {
"browser": true,
"es6": true,
"node": true
},
"root": true,
"parser": "@typescript-eslint/parser",
"settings": {
"import/resolver": {
"typescript": {
"alwaysTryTypes": true,
"project": "./tsconfig.json"
}
}
},
"parserOptions": {
"ecmaVersion": "latest",
"project": "./tsconfig.json",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"eslint-plugin-import",
"eslint-plugin-jsdoc"
"eslint-plugin-jsdoc",
"etc",
"sonarjs"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:etc/recommended",
"plugin:import/typescript",
"plugin:sonarjs/recommended"
],
"overrides": [{
"files": ["*.ts", "*.tsx"]
"files": "*.ts?(x)",
"parser": "@typescript-eslint/parser"
}, {
"files": ["*.js"],
"files": "*.test.ts?(x)",
"rules": {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"etc/throw-error": "off"
}
}, {
"files": "*.typetest.ts?(x)",
"rules": {
"@typescript-eslint/ban-ts-comment": ["error", { "ts-expect-error": false }],
"etc/throw-error": "off"
}
}, {
"files": "*.js?(x)",
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-unsafe-return": "off"
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/restrict-template-expressions": "off"
}
}],
"rules": {
Expand All @@ -49,8 +84,8 @@
"public-method",
"private-method"
],
"interfaces": { "order": "natural" },
"typeLiterals": { "order": "natural" }
"interfaces": { "order": "alphabetically" },
"typeLiterals": { "order": "alphabetically" }
}],
"@typescript-eslint/member-delimiter-style": ["error", {
"multiline": {
Expand All @@ -64,11 +99,26 @@
}],
"@typescript-eslint/no-empty-function": "error",
"@typescript-eslint/no-empty-interface": "error",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-explicit-any": ["error", { "ignoreRestArgs": true }],
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-inferrable-types": ["error", {
"ignoreParameters": true,
"ignoreProperties": true
}],
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/no-redundant-type-constituents": "error",
"@typescript-eslint/no-shadow": ["error", { "hoist": "all" }],
"@typescript-eslint/no-unused-expressions": ["error", { "allowTernary": true }],
"@typescript-eslint/no-unused-vars": ["error", {
"destructuredArrayIgnorePattern": "^_",
"ignoreRestSiblings": true
}],
"@typescript-eslint/no-use-before-define": ["error", {
"functions": false,
"classes": false
}],
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/parameter-properties": "error",
"@typescript-eslint/prefer-for-of": "error",
Expand All @@ -78,32 +128,62 @@
"avoidEscape": true,
"allowTemplateLiterals": false
}],
"@typescript-eslint/restrict-template-expressions": ["error", {
"allowNumber": true,
"allowBoolean": true,
"allowNullish": true
}],
"@typescript-eslint/semi": "error",
"@typescript-eslint/space-infix-ops": "error",
"@typescript-eslint/triple-slash-reference": "error",
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unbound-method": "error",
"@typescript-eslint/unbound-method": ["error", { "ignoreStatic": true }],
"@typescript-eslint/unified-signatures": "error",
"array-bracket-spacing": "error",
"arrow-parens": ["error", "as-needed"],
"arrow-spacing": "error",
"brace-style": "error",
"camelcase": "error",
"comma-spacing": "error",
"computed-property-spacing": "error",
"constructor-super": "error",
"curly": "error",
"etc/no-commented-out-code": "error",
"etc/throw-error": "error",
"eol-last": "error",
"eqeqeq": "error",
"func-style": ["error", "declaration", { "allowArrowFunctions": true }],
"import/newline-after-import": "error",
"import/no-absolute-path": "error",
"import/no-cycle": ["error", {
"allowUnsafeDynamicCyclicDependency": true,
"ignoreExternal": true
}],
"import/no-duplicates": "error",
"import/no-import-module-exports": "error",
"import/no-namespace": "error",
"import/no-relative-packages": "error",
"import/no-unresolved": "error",
"import/no-useless-path-segments": "error",
"import/order": ["error", {
"alphabetize": {
"caseInsensitive": false,
"order": "asc"
},
"newlines-between": "always",
"groups": ["external", "parent", "sibling"]
}],
"jsdoc/check-alignment": "error",
"jsdoc/check-indentation": "error",
"jsdoc/newline-after-description": "error",
"jsdoc/check-indentation": ["error", { "excludeTags": ["example", "param", "returns"] }],
"jsdoc/tag-lines": ["error", "any", { "startLines": 1 }],
"keyword-spacing": "error",
"linebreak-style": "error",
"max-classes-per-file": ["error", 1],
"max-len": ["error", {
"code": 120,
"comments": 80,
"ignoreRegExpLiterals": true,
"ignorePattern": "^import (\\{ )?\\w+( \\})? from \".+\";$",
"ignoreUrls": true,
"tabWidth": 2
}],
Expand All @@ -117,20 +197,31 @@
"no-extra-boolean-cast": ["error", { "enforceForLogicalOperands": true }],
"no-invalid-this": "error",
"no-labels": "error",
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 0, "maxBOF": 0 }],
"no-multi-spaces": "error",
"no-new-wrappers": "error",
"no-param-reassign": "error",
"no-tabs": "error",
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-underscore-dangle": "error",
"no-use-before-define": "off",
"no-useless-computed-key": ["error", { "enforceForClassMembers": true }],
"no-var": "error",
"object-curly-spacing": ["error", "always"],
"object-shorthand": "error",
"one-var": ["error", "never"],
"prefer-const": "error",
"quote-props": ["error", "as-needed"],
"radix": "error",
"rest-spread-spacing": "error",
"semi-spacing": "error",
"sonarjs/cognitive-complexity": "off",
"sonarjs/no-duplicate-string": "off",
"sonarjs/no-inverted-boolean-check": "error",
"sort-keys": "error",
"space-before-blocks": "error",
"space-in-parens": "error",
"spaced-comment": "error",
"switch-colon-spacing": "error"
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v2

...
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
19.5.0
20.2.0
Loading

0 comments on commit a7e737e

Please sign in to comment.