Skip to content

Commit 1183f06

Browse files
authored
Merge pull request #21 from fixpoint/up-deps
Upgrade dependencies
2 parents 71a382e + b429e80 commit 1183f06

File tree

8 files changed

+57172
-38596
lines changed

8 files changed

+57172
-38596
lines changed

.eslintrc.js

+37-38
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,66 @@
11
module.exports = {
22
env: {
33
es6: true,
4-
node: true
4+
node: true,
55
},
66
extends: [
7-
"eslint:recommended",
8-
"plugin:@typescript-eslint/recommended",
9-
"plugin:prettier/recommended",
10-
"prettier",
11-
"prettier/@typescript-eslint"
7+
'eslint:recommended',
8+
'plugin:@typescript-eslint/recommended',
9+
'plugin:prettier/recommended',
10+
'prettier',
1211
],
13-
plugins: ["@typescript-eslint", "prettier"],
12+
plugins: ['@typescript-eslint', 'prettier'],
1413
rules: {
1514
// I agree with https://github.com/palantir/tslint/issues/3265#issuecomment-333285962
16-
"@typescript-eslint/interface-name-prefix": "off",
15+
'@typescript-eslint/interface-name-prefix': 'off',
1716
// I agree with https://github.com/typescript-eslint/typescript-eslint/issues/201
18-
"@typescript-eslint/explicit-member-accessibility": [
19-
"error",
20-
{ accessibility: "no-public" }
17+
'@typescript-eslint/explicit-member-accessibility': [
18+
'error',
19+
{ accessibility: 'no-public' },
2120
],
2221
// Empty interface is often used for standardize interface
23-
"@typescript-eslint/no-empty-interface": "off",
22+
'@typescript-eslint/no-empty-interface': 'off',
2423
// Strict type is ideal but we are writing code for application but for perfect type system
2524
// and I think those rules are too strict sometime.
26-
"@typescript-eslint/no-explicit-any": "off",
27-
"@typescript-eslint/explicit-function-return-type": "off",
25+
'@typescript-eslint/no-explicit-any': 'off',
26+
'@typescript-eslint/explicit-function-return-type': 'off',
2827
// ESLint does not have TSLint's 'ordered-imports' which follows TypeScript's Organise Import
2928
// specification so use ESLint's 'sort-imports' without DeclarationSort to partially mimic
3029
// the spec for now.
3130
// See https://github.com/typescript-eslint/typescript-eslint/pull/256
32-
"sort-imports": [
33-
"warn",
31+
'sort-imports': [
32+
'warn',
3433
{
35-
ignoreDeclarationSort: true
36-
}
37-
]
34+
ignoreDeclarationSort: true,
35+
},
36+
],
3837
},
3938
overrides: [
4039
{
41-
files: ["*.ts", "*.tsx"],
40+
files: ['*.ts', '*.tsx'],
4241
rules: {
43-
"no-dupe-class-members": "off"
44-
}
42+
'no-dupe-class-members': 'off',
43+
},
4544
},
4645
{
4746
files: [
48-
"*.spec.ts",
49-
"*.test.ts",
50-
"*.spec.tsx",
51-
"*.test.tsx",
52-
"*.spec.js",
53-
"*.test.js",
54-
"*.spec.jsx",
55-
"*.test.jsx",
56-
"*/__tests__/*.ts",
57-
"*/__tests__/*.tsx",
58-
"*/__tests__/*.js",
59-
"*/__tests__/*.jsx"
47+
'*.spec.ts',
48+
'*.test.ts',
49+
'*.spec.tsx',
50+
'*.test.tsx',
51+
'*.spec.js',
52+
'*.test.js',
53+
'*.spec.jsx',
54+
'*.test.jsx',
55+
'*/__tests__/*.ts',
56+
'*/__tests__/*.tsx',
57+
'*/__tests__/*.js',
58+
'*/__tests__/*.jsx',
6059
],
6160
env: {
6261
browser: true,
63-
jest: true
64-
}
65-
}
66-
]
62+
jest: true,
63+
},
64+
},
65+
],
6766
};

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515

1616
steps:
17-
- uses: actions/checkout@v2
18-
- uses: actions/setup-node@v1
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
1919
- run: npm ci
2020
- run: npm run build
2121

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ inputs:
2323
required: false
2424
default: 'false'
2525
runs:
26-
using: 'node12'
26+
using: 'node16'
2727
main: 'dist/index.js'

0 commit comments

Comments
 (0)