Skip to content

Commit d18b189

Browse files
Merge branch 'stage' into 'master' for release
2 parents 32c582d + 6b95d03 commit d18b189

File tree

74 files changed

+2531
-942
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+2531
-942
lines changed

.eslintrc.js

Lines changed: 31 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,34 @@
11
module.exports = {
2-
parser: "@typescript-eslint/parser",
3-
parserOptions: {
4-
project: "tsconfig.json",
5-
sourceType: "module",
2+
parser: "@typescript-eslint/parser",
3+
parserOptions: {
4+
project: "tsconfig.json",
5+
sourceType: "module",
6+
},
7+
plugins: ["@typescript-eslint/eslint-plugin"],
8+
extends: [
9+
"plugin:@typescript-eslint/eslint-recommended",
10+
"plugin:@typescript-eslint/recommended",
11+
"prettier",
12+
"prettier/@typescript-eslint",
13+
],
14+
root: true,
15+
env: {
16+
node: true,
17+
jest: true,
18+
},
19+
rules: {
20+
"@typescript-eslint/interface-name-prefix": "off",
21+
"@typescript-eslint/explicit-function-return-type": "off",
22+
"@typescript-eslint/no-explicit-any": "off",
23+
"@typescript-eslint/no-unused-vars": "off",
24+
"@typescript-eslint/no-floating-promises": "warn",
25+
},
26+
overrides: [
27+
{
28+
files: ["test/**/*.ts"],
29+
rules: {
30+
"max-lines-per-function": "off",
31+
},
632
},
7-
plugins: ["@typescript-eslint/eslint-plugin"],
8-
extends: [
9-
"plugin:@typescript-eslint/eslint-recommended",
10-
"plugin:@typescript-eslint/recommended",
11-
"prettier",
12-
"prettier/@typescript-eslint",
13-
],
14-
root: true,
15-
env: {
16-
node: true,
17-
jest: true,
18-
},
19-
rules: {
20-
"@typescript-eslint/interface-name-prefix": "off",
21-
"@typescript-eslint/explicit-function-return-type": "off",
22-
"@typescript-eslint/no-explicit-any": "off",
23-
"@typescript-eslint/no-unused-vars": "off",
24-
"@typescript-eslint/no-floating-promises": "warn",
25-
"max-lines-per-function": ["error", 80],
26-
"max-lines-per-function": ["warn", 55],
27-
},
28-
overrides: [
29-
{
30-
files: ["test/**/*.ts"],
31-
rules: {
32-
"max-lines-per-function": "off",
33-
},
34-
},
35-
],
33+
],
3634
};

.github/workflows/on-push-pr.action.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,9 @@ jobs:
1717
vulnerabilities-scan:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v2
21-
name: Checkout repository
22-
- uses: debricked/actions/scan@v1
23-
name: Run a vulnerability scan
20+
- uses: actions/checkout@v4
21+
- uses: debricked/actions@v4
2422
env:
25-
# Token must have API access scope to run scans
2623
DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN }}
2724
code-build:
2825
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)